AA 728 then BA 898 at Heathrow
Philadelphia → London → Paphos
Timetable, London time
07:50AA 728 from Philadelphia at the gate
07:25BA 898 to Paphos leaves the gate
23 h 35 apart on the timetable, overnight
BA 898 leaves 23 h 35 after AA 728 arrives on the timetable: more than half a day, so not a connection we count.