QR 149 then FR 6815 at Madrid
Doha → Madrid → Manchester
Timetable, Madrid time
13:50QR 149 from Doha at the gate
10:40FR 6815 to Manchester leaves the gate
20 h 50 apart on the timetable, overnight
FR 6815 leaves 20 h 50 after QR 149 arrives on the timetable: more than half a day, so not a connection we count.