FR 3977 then IB 5170 at Barcelona
Dublin → Barcelona → Bilbao
Timetable, Barcelona time
21:10FR 3977 from Dublin at the gate
15:35IB 5170 to Bilbao leaves the gate
18 h 25 apart on the timetable, overnight
IB 5170 leaves 18 h 25 after FR 3977 arrives on the timetable: more than half a day, so not a connection we count.