FR 10 then IB 507 at Madrid
Dublin → Madrid → Málaga
Timetable, Madrid time
21:15FR 10 from Dublin at the gate
19:35IB 507 to Málaga leaves the gatealso AY 4807
22 h 20 apart on the timetable, overnight
IB 507 leaves 22 h 20 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.