BA 481 then BA 444 at Heathrow
Barcelona → London → Amsterdam
Timetable, London time
16:05BA 481 from Barcelona at the gate
16:00BA 444 to Amsterdam leaves the gate
23 h 55 apart on the timetable, overnight
BA 444 leaves 23 h 55 after BA 481 arrives on the timetable: more than half a day, so not a connection we count.