FR 2251 then U2 8058 at Barcelona
Marrakesh → Barcelona → London Gatwick
Timetable, Barcelona time
22:25FR 2251 from Marrakesh at the gate
19:45U2 8058 to London Gatwick leaves the gate
21 h 20 apart on the timetable, overnight
U2 8058 leaves 21 h 20 after FR 2251 arrives on the timetable: more than half a day, so not a connection we count.