FR 4586 then LA 5745 at Barcelona
Porto → Barcelona → Málaga
Timetable, Barcelona time
19:45FR 4586 from Porto at the gate
11:40LA 5745 to Málaga leaves the gate
15 h 55 apart on the timetable, overnight
LA 5745 leaves 15 h 55 after FR 4586 arrives on the timetable: more than half a day, so not a connection we count.