FR 482 then FR 4587 at Barcelona
Málaga → Barcelona → Porto
Timetable, Barcelona time
09:20FR 482 from Málaga at the gate
22:55FR 4587 to Porto leaves the gate
13 h 35 apart on the timetable
FR 4587 leaves 13 h 35 after FR 482 arrives on the timetable: more than half a day, so not a connection we count.