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