U2 3209 then AT 1633 at Madrid
Edinburgh → Madrid → Tetouan
Timetable, Madrid time
20:05U2 3209 from Edinburgh at the gate
19:35AT 1633 to Tetouan leaves the gate
23 h 30 apart on the timetable, overnight
AT 1633 leaves 23 h 30 after U2 3209 arrives on the timetable: more than half a day, so not a connection we count.