FR 5057 then IB 655 at Madrid
Dakhla → Madrid → Rome
Timetable, Madrid time
18:20FR 5057 from Dakhla at the gate
17:05IB 655 to Rome leaves the gate
22 h 45 apart on the timetable, overnight
IB 655 leaves 22 h 45 after FR 5057 arrives on the timetable: more than half a day, so not a connection we count.