IB 123 then JA 7041 at Lima
Madrid → Lima → Cusco
Timetable, Lima time
06:05IB 123 from Madrid at the gate
19:25JA 7041 to Cusco leaves the gate
13 h 20 apart on the timetable
JA 7041 leaves 13 h 20 after IB 123 arrives on the timetable: more than half a day, so not a connection we count.