UX 176 then FR 1206 at Madrid
Lima → Madrid → Venezia
Timetable, Madrid time
05:10UX 176 from Lima at the gate
22:25FR 1206 to Venezia leaves the gate
17 h 15 apart on the timetable
FR 1206 leaves 17 h 15 after UX 176 arrives on the timetable: more than half a day, so not a connection we count.