IB 5171 then EW 2523 at Barcelona
Bilbao → Barcelona → Stuttgart
Timetable, Barcelona time
18:50IB 5171 from Bilbao at the gate
14:45EW 2523 to Stuttgart leaves the gate
19 h 55 apart on the timetable, overnight
EW 2523 leaves 19 h 55 after IB 5171 arrives on the timetable: more than half a day, so not a connection we count.