FR 9601 then QR 150 at Madrid
Rome → Madrid → Doha
Timetable, Madrid time
19:10FR 9601 from Rome at the gate
15:20QR 150 to Doha leaves the gate
20 h 10 apart on the timetable, overnight
QR 150 leaves 20 h 10 after FR 9601 arrives on the timetable: more than half a day, so not a connection we count.