VS 22 then BA 504 at Heathrow
Washington → London → Lisbon
Timetable, London time
09:10VS 22 from Washington at the gate
09:05BA 504 to Lisbon leaves the gate
23 h 55 apart on the timetable, overnight
BA 504 leaves 23 h 55 after VS 22 arrives on the timetable: more than half a day, so not a connection we count.