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