EW 2520 then YW 8005 at Barcelona
Stuttgart → Barcelona → Bilbao
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
10:30YW 8005 to Bilbao leaves the gate
20 h 05 apart on the timetable, overnight
YW 8005 leaves 20 h 05 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.