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