FR 9986 then FR 7054 at Dublin
Porto → Dublin → Málaga
Timetable, Dublin time
10:15FR 9986 from Porto at the gate
06:25FR 7054 to Málaga leaves the gate
20 h 10 apart on the timetable, overnight
FR 7054 leaves 20 h 10 after FR 9986 arrives on the timetable: more than half a day, so not a connection we count.