U2 806 then U2 8855 at Gatwick
Edinburgh → London → Enfidha
Timetable, London time
09:05U2 806 from Edinburgh at the gate
06:25U2 8855 to Enfidha leaves the gate
21 h 20 apart on the timetable, overnight
U2 8855 leaves 21 h 20 after U2 806 arrives on the timetable: more than half a day, so not a connection we count.