FR 3977 then QR 3518 at Barcelona
Dublin → Barcelona → Bilbao
Timetable, Barcelona time
21:10FR 3977 from Dublin at the gate
16:05QR 3518 to Bilbao leaves the gate
18 h 55 apart on the timetable, overnight
QR 3518 leaves 18 h 55 after FR 3977 arrives on the timetable: more than half a day, so not a connection we count.