FR 3036 then QR 3518 at Barcelona
Krakow → Barcelona → Bilbao
Timetable, Barcelona time
20:35FR 3036 from Krakow at the gate
12:40QR 3518 to Bilbao leaves the gate
16 h 05 apart on the timetable, overnight
QR 3518 leaves 16 h 05 after FR 3036 arrives on the timetable: more than half a day, so not a connection we count.