IB 1036 then FR 6791 at Madrid
Almeria → Madrid → Marrakesh
Timetable, Madrid time
08:25IB 1036 from Almeria at the gate
07:15FR 6791 to Marrakesh leaves the gate
22 h 50 apart on the timetable, overnight
FR 6791 leaves 22 h 50 after IB 1036 arrives on the timetable: more than half a day, so not a connection we count.