3O 391 then FR 5054 at Madrid
Tangier → Madrid → Luxembourg
Timetable, Madrid time
16:253O 391 from Tangier at the gate
13:10FR 5054 to Luxembourg leaves the gate
20 h 45 apart on the timetable, overnight
FR 5054 leaves 20 h 45 after 3O 391 arrives on the timetable: more than half a day, so not a connection we count.