FR 6792 then QR 5514 at Madrid
Marrakesh → Madrid → Firenze
Timetable, Madrid time
22:05FR 6792 from Marrakesh at the gate
20:45QR 5514 to Firenze leaves the gatealso IB 5789, VY 6039, AA 8865
22 h 40 apart on the timetable, overnight
QR 5514 leaves 22 h 40 after FR 6792 arrives on the timetable: more than half a day, so not a connection we count.