BA 483 then BA 179 at Heathrow
Barcelona → London → New York JFK
Timetable, London time
19:25BA 483 from Barcelona at the gate
18:05BA 179 to New York JFK leaves the gate
22 h 40 apart on the timetable, overnight
BA 179 leaves 22 h 40 after BA 483 arrives on the timetable: more than half a day, so not a connection we count.