FR 4584 then LL 5510 at Barcelona
Porto → Barcelona → Málaga
Timetable, Barcelona time
18:55FR 4584 from Porto at the gate
13:00LL 5510 to Málaga leaves the gate
18 h 05 apart on the timetable, overnight
LL 5510 leaves 18 h 05 after FR 4584 arrives on the timetable: more than half a day, so not a connection we count.