IB 392 then FR 3186 at Madrid
Doha → Madrid → Manchester
Timetable, Madrid time
09:05IB 392 from Doha at the gate
06:40FR 3186 to Manchester leaves the gate
21 h 35 apart on the timetable, overnight
FR 3186 leaves 21 h 35 after IB 392 arrives on the timetable: more than half a day, so not a connection we count.