QR 4769 then AV 2506 at Madrid
Firenze → Madrid → Lisbon
Timetable, Madrid time
20:00QR 4769 from Firenze at the gatealso IB 5786, VY 6036, AA 8866
18:00AV 2506 to Lisbon leaves the gatealso LO 4763, EK 4859, AD 7273, S4 8963
22 h apart on the timetable, overnight
AV 2506 leaves 22 h after QR 4769 arrives on the timetable: more than half a day, so not a connection we count.