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