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