H2 5166 then H2 5017 at Lima
Arequipa → Lima → Cusco
Timetable, Lima time
23:10H2 5166 from Arequipa at the gate
19:35H2 5017 to Cusco leaves the gate
20 h 25 apart on the timetable, overnight
H2 5017 leaves 20 h 25 after H2 5166 arrives on the timetable: more than half a day, so not a connection we count.