FR 4274 then FR 6791 at Madrid
Tirana → Madrid → Marrakesh
Timetable, Madrid time
13:05FR 4274 from Tirana at the gate
06:25FR 6791 to Marrakesh leaves the gate
17 h 20 apart on the timetable, overnight
FR 6791 leaves 17 h 20 after FR 4274 arrives on the timetable: more than half a day, so not a connection we count.