H2 5166 then H2 5011 at Lima
Arequipa → Lima → Cusco
Timetable, Lima time
23:10H2 5166 from Arequipa at the gate
17:50H2 5011 to Cusco leaves the gate
18 h 40 apart on the timetable, overnight
H2 5011 leaves 18 h 40 after H2 5166 arrives on the timetable: more than half a day, so not a connection we count.