I2 1854 then U2 3210 at Madrid
Marrakesh → Madrid → Edinburgh
Timetable, Madrid time
16:40I2 1854 from Marrakesh at the gatealso IB 1854, VY 5139, AT 5344, BA 7132
16:30U2 3210 to Edinburgh leaves the gate
23 h 50 apart on the timetable, overnight
U2 3210 leaves 23 h 50 after I2 1854 arrives on the timetable: more than half a day, so not a connection we count.