JA 7006 then JA 7990 at Lima
Arequipa → Lima → Medellín
Timetable, Lima time
22:20JA 7006 from Arequipa at the gate
19:55JA 7990 to Medellín leaves the gate
21 h 35 apart on the timetable, overnight
JA 7990 leaves 21 h 35 after JA 7006 arrives on the timetable: more than half a day, so not a connection we count.