FR 4586 then FR 3080 at Barcelona
Porto → Barcelona → Málaga
Timetable, Barcelona time
21:10FR 4586 from Porto at the gate
20:55FR 3080 to Málaga leaves the gate
23 h 45 apart on the timetable, overnight
FR 3080 leaves 23 h 45 after FR 4586 arrives on the timetable: more than half a day, so not a connection we count.