FR 817 then FR 7054 at Dublin
Edinburgh → Dublin → Málaga
Timetable, Dublin time
13:30FR 817 from Edinburgh at the gate
06:25FR 7054 to Málaga leaves the gate
16 h 55 apart on the timetable, overnight
FR 7054 leaves 16 h 55 after FR 817 arrives on the timetable: more than half a day, so not a connection we count.