BA 835 then BA 784 at Heathrow
Dublin → London → Stockholm
Timetable, London time
19:55BA 835 from Dublin at the gate
19:05BA 784 to Stockholm leaves the gate
23 h 10 apart on the timetable, overnight
BA 784 leaves 23 h 10 after BA 835 arrives on the timetable: more than half a day, so not a connection we count.