JA 7006 then IB 126 at Lima
Arequipa → Lima → Madrid
Timetable, Lima time
21:45JA 7006 from Arequipa at the gate
21:05IB 126 to Madrid leaves the gate
23 h 20 apart on the timetable, overnight
IB 126 leaves 23 h 20 after JA 7006 arrives on the timetable: more than half a day, so not a connection we count.