FR 9170 then FR 1342 at Barcelona
Stockholm → Barcelona → Palma de Mallorca
Timetable, Barcelona time
14:55FR 9170 from Stockholm at the gate
07:45FR 1342 to Palma de Mallorca leaves the gate
16 h 50 apart on the timetable, overnight
FR 1342 leaves 16 h 50 after FR 9170 arrives on the timetable: more than half a day, so not a connection we count.