AZ 76 then LA 5765 at Barcelona
Rome → Barcelona → Firenze
Timetable, Barcelona time
15:55AZ 76 from Rome at the gate
15:40LA 5765 to Firenze leaves the gate
23 h 45 apart on the timetable, overnight
LA 5765 leaves 23 h 45 after AZ 76 arrives on the timetable: more than half a day, so not a connection we count.