BA 489 then BA 1322 at Heathrow
Barcelona → London → Aberdeen
Timetable, London time
21:25BA 489 from Barcelona at the gate
21:00BA 1322 to Aberdeen leaves the gate
23 h 35 apart on the timetable, overnight
BA 1322 leaves 23 h 35 after BA 489 arrives on the timetable: more than half a day, so not a connection we count.