FR 132 then FR 2896 at Barcelona
Berlin → Barcelona → Palma de Mallorca
Timetable, Barcelona time
17:30FR 132 from Berlin at the gate
17:20FR 2896 to Palma de Mallorca leaves the gate
23 h 50 apart on the timetable, overnight
FR 2896 leaves 23 h 50 after FR 132 arrives on the timetable: more than half a day, so not a connection we count.