QR 3700 then FR 8631 at Barcelona
Valladolid → Barcelona → Tangier
Timetable, Barcelona time
19:25QR 3700 from Valladolid at the gate
09:45FR 8631 to Tangier leaves the gate
14 h 20 apart on the timetable, overnight
FR 8631 leaves 14 h 20 after QR 3700 arrives on the timetable: more than half a day, so not a connection we count.