EW 2522 then IB 5834 at Barcelona
Stuttgart → Barcelona → London Gatwick
Timetable, Barcelona time
20:00EW 2522 from Stuttgart at the gate
19:50IB 5834 to London Gatwick leaves the gatealso LL 5834, VY 7626, BA 8080
23 h 50 apart on the timetable, overnight
IB 5834 leaves 23 h 50 after EW 2522 arrives on the timetable: more than half a day, so not a connection we count.