IB 5387 then IB 2611 at Barcelona
Bologna → Barcelona → Lima
Timetable, Barcelona time
16:00IB 5387 from Bologna at the gatealso LL 5387, VY 6111
13:35IB 2611 to Lima leaves the gatealso LL 2611, AY 5355, QR 6942
21 h 35 apart on the timetable, overnight
IB 2611 leaves 21 h 35 after IB 5387 arrives on the timetable: more than half a day, so not a connection we count.