LA 5741 then FR 4545 at Barcelona
Málaga → Barcelona → Porto
Timetable, Barcelona time
08:15LA 5741 from Málaga at the gate
06:45FR 4545 to Porto leaves the gate
22 h 30 apart on the timetable, overnight
FR 4545 leaves 22 h 30 after LA 5741 arrives on the timetable: more than half a day, so not a connection we count.