BA 423 then BA 289 at Heathrow
Málaga → London → Phoenix
Timetable, London time
15:15BA 423 from Málaga at the gate
14:35BA 289 to Phoenix leaves the gate
23 h 20 apart on the timetable, overnight
BA 289 leaves 23 h 20 after BA 423 arrives on the timetable: more than half a day, so not a connection we count.