QR 4769 then IB 1151 at Madrid
Firenze → Madrid → Porto
Timetable, Madrid time
20:00QR 4769 from Firenze at the gatealso IB 5786, VY 6036, AA 8866
15:40IB 1151 to Porto leaves the gate
19 h 40 apart on the timetable, overnight
IB 1151 leaves 19 h 40 after QR 4769 arrives on the timetable: more than half a day, so not a connection we count.