QR 4769 then AZ 2427 at Madrid
Firenze → Madrid → Porto
Timetable, Madrid time
20:00QR 4769 from Firenze at the gatealso IB 5786, VY 6036, AA 8866
19:05AZ 2427 to Porto leaves the gatealso AM 6918, SV 6974, EY 7513, AD 7866
23 h 05 apart on the timetable, overnight
AZ 2427 leaves 23 h 05 after QR 4769 arrives on the timetable: more than half a day, so not a connection we count.