BA 679 then RJ 5004 at Heathrow
Istanbul → London → Amman
Timetable, London time
22:35BA 679 from Istanbul at the gate
22:30RJ 5004 to Amman leaves the gate
23 h 55 apart on the timetable, overnight
RJ 5004 leaves 23 h 55 after BA 679 arrives on the timetable: more than half a day, so not a connection we count.