IB 5955 then QR 3518 at Barcelona
Agadir → Barcelona → Bilbao
Timetable, Barcelona time
15:05IB 5955 from Agadir at the gatealso LL 5955, VY 8501
12:40QR 3518 to Bilbao leaves the gate
21 h 35 apart on the timetable, overnight
QR 3518 leaves 21 h 35 after IB 5955 arrives on the timetable: more than half a day, so not a connection we count.