FR 2494 then LA 5788 at Barcelona
Palma de Mallorca → Barcelona → Santander
Timetable, Barcelona time
19:10FR 2494 from Palma de Mallorca at the gate
16:05LA 5788 to Santander leaves the gate
20 h 55 apart on the timetable, overnight
LA 5788 leaves 20 h 55 after FR 2494 arrives on the timetable: more than half a day, so not a connection we count.