3O 391 then IB 1073 at Madrid
Tangier → Madrid → Seville
Timetable, Madrid time
20:003O 391 from Tangier at the gate
16:00IB 1073 to Seville leaves the gatealso AY 4795
20 h apart on the timetable, overnight
IB 1073 leaves 20 h after 3O 391 arrives on the timetable: more than half a day, so not a connection we count.