AA 5277 then AA 728 at Philadelphia
Memphis → Philadelphia → London
Timetable, Philadelphia time
19:41AA 5277 from Memphis at the gate
19:40AA 728 to London leaves the gate
23 h 59 apart on the timetable, overnight
AA 728 leaves 23 h 59 after AA 5277 arrives on the timetable: more than half a day, so not a connection we count.