IB 325 then DL 6063 at JFK
Madrid → New York → Lima
Timetable, New York time
19:15IB 325 from Madrid at the gate
12:50DL 6063 to Lima leaves the gate
17 h 35 apart on the timetable, overnight
DL 6063 leaves 17 h 35 after IB 325 arrives on the timetable: more than half a day, so not a connection we count.