AY 1331 then BA 492 at Heathrow
Helsinki → London → Gibraltar
Timetable, London time
09:10AY 1331 from Helsinki at the gate
08:10BA 492 to Gibraltar leaves the gate
23 h apart on the timetable, overnight
BA 492 leaves 23 h after AY 1331 arrives on the timetable: more than half a day, so not a connection we count.