EW 2520 then IB 2611 at Barcelona
Stuttgart → Barcelona → Lima
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
13:35IB 2611 to Lima leaves the gatealso LL 2611, AY 5355, QR 6942
23 h 10 apart on the timetable, overnight
IB 2611 leaves 23 h 10 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.