LA 2309 then JA 7023 at Lima
Piura → Lima → Cusco
Timetable, Lima time
22:55LA 2309 from Piura at the gate
18:00JA 7023 to Cusco leaves the gate
19 h 05 apart on the timetable, overnight
JA 7023 leaves 19 h 05 after LA 2309 arrives on the timetable: more than half a day, so not a connection we count.