DY 5503 then FR 2889 at Barcelona
Stockholm → Barcelona → Palma de Mallorca
Timetable, Barcelona time
21:45DY 5503 from Stockholm at the gate
20:55FR 2889 to Palma de Mallorca leaves the gate
23 h 10 apart on the timetable, overnight
FR 2889 leaves 23 h 10 after DY 5503 arrives on the timetable: more than half a day, so not a connection we count.