FR 7958 then QR 3683 at Barcelona
Cork → Barcelona → Santander
Timetable, Barcelona time
22:55FR 7958 from Cork at the gate
16:05QR 3683 to Santander leaves the gate
17 h 10 apart on the timetable, overnight
QR 3683 leaves 17 h 10 after FR 7958 arrives on the timetable: more than half a day, so not a connection we count.