PU 302 then QR 5513 at Madrid
Lima → Madrid → Firenze
Timetable, Madrid time
15:20PU 302 from Lima at the gate
14:35QR 5513 to Firenze leaves the gatealso IB 5787, VY 6037, AA 8869
23 h 15 apart on the timetable, overnight
QR 5513 leaves 23 h 15 after PU 302 arrives on the timetable: more than half a day, so not a connection we count.