LA 5836 then FR 1342 at Barcelona
Porto → Barcelona → Palma de Mallorca
Timetable, Barcelona time
00:35LA 5836 from Porto at the gate
21:15FR 1342 to Palma de Mallorca leaves the gate
20 h 40 apart on the timetable
FR 1342 leaves 20 h 40 after LA 5836 arrives on the timetable: more than half a day, so not a connection we count.