IB 5169 then EC 7199 at Barcelona
Bilbao → Barcelona → Edinburgh
Timetable, Barcelona time
14:05IB 5169 from Bilbao at the gate
07:20EC 7199 to Edinburgh leaves the gate
17 h 15 apart on the timetable, overnight
EC 7199 leaves 17 h 15 after IB 5169 arrives on the timetable: more than half a day, so not a connection we count.