FR 2494 then LA 5782 at Barcelona
Palma de Mallorca → Barcelona → Porto
Timetable, Barcelona time
18:45FR 2494 from Palma de Mallorca at the gate
13:00LA 5782 to Porto leaves the gate
18 h 15 apart on the timetable, overnight
LA 5782 leaves 18 h 15 after FR 2494 arrives on the timetable: more than half a day, so not a connection we count.