FR 6723 then QR 5513 at Madrid
Marrakesh → Madrid → Firenze
Timetable, Madrid time
22:15FR 6723 from Marrakesh at the gate
14:35QR 5513 to Firenze leaves the gatealso IB 5787, VY 6037, AA 8869
16 h 20 apart on the timetable, overnight
QR 5513 leaves 16 h 20 after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.