BA 425 then QR 106 at Heathrow
Málaga → London → Doha
Timetable, London time
19:50BA 425 from Málaga at the gate
18:45QR 106 to Doha leaves the gate
22 h 55 apart on the timetable, overnight
QR 106 leaves 22 h 55 after BA 425 arrives on the timetable: more than half a day, so not a connection we count.