EW 2520 then IB 5338 at Barcelona
Stuttgart → Barcelona → Rome
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
11:35IB 5338 to Rome leaves the gatealso LL 5338
21 h 10 apart on the timetable, overnight
IB 5338 leaves 21 h 10 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.