FR 3008 then QR 5513 at Madrid
Milan → Madrid → Firenze
Timetable, Madrid time
19:50FR 3008 from Milan at the gate
14:35QR 5513 to Firenze leaves the gatealso IB 5787, VY 6037, AA 8869
18 h 45 apart on the timetable, overnight
QR 5513 leaves 18 h 45 after FR 3008 arrives on the timetable: more than half a day, so not a connection we count.