BA 893 then BA 496 at Heathrow
Sofia → London → Barcelona
Timetable, London time
21:10BA 893 from Sofia at the gate
19:15BA 496 to Barcelona leaves the gate
22 h 05 apart on the timetable, overnight
BA 496 leaves 22 h 05 after BA 893 arrives on the timetable: more than half a day, so not a connection we count.