QR 4769 then FR 2436 at Madrid
Firenze → Madrid → Rome
Timetable, Madrid time
14:00QR 4769 from Firenze at the gate
09:35FR 2436 to Rome leaves the gate
19 h 35 apart on the timetable, overnight
FR 2436 leaves 19 h 35 after QR 4769 arrives on the timetable: more than half a day, so not a connection we count.