AT 5349 then FR 9430 at Madrid
Badajoz → Madrid → Marrakesh
Timetable, Madrid time
10:45AT 5349 from Badajoz at the gate
09:30FR 9430 to Marrakesh leaves the gate
22 h 45 apart on the timetable, overnight
FR 9430 leaves 22 h 45 after AT 5349 arrives on the timetable: more than half a day, so not a connection we count.