IB 392 then FR 9602 at Madrid
Doha → Madrid → Rome
Timetable, Madrid time
09:05IB 392 from Doha at the gate
21:55FR 9602 to Rome leaves the gate
12 h 50 apart on the timetable
FR 9602 leaves 12 h 50 after IB 392 arrives on the timetable: more than half a day, so not a connection we count.