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