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