FR 4596 then QR 3794 at Barcelona
Porto → Barcelona → Palma de Mallorca
Timetable, Barcelona time
00:50FR 4596 from Porto at the gate
23:00QR 3794 to Palma de Mallorca leaves the gate
22 h 10 apart on the timetable
QR 3794 leaves 22 h 10 after FR 4596 arrives on the timetable: more than half a day, so not a connection we count.