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