QR 5510 then U2 7646 at Madrid
Firenze → Madrid → Lisbon
Timetable, Madrid time
20:05QR 5510 from Firenze at the gatealso IB 5788, VY 6038, AA 8864
18:00U2 7646 to Lisbon leaves the gate
21 h 55 apart on the timetable, overnight
U2 7646 leaves 21 h 55 after QR 5510 arrives on the timetable: more than half a day, so not a connection we count.