QR 3692 then 3O 378 at Barcelona
Lyon → Barcelona → Tangier
Timetable, Barcelona time
22:45QR 3692 from Lyon at the gate
20:053O 378 to Tangier leaves the gate
21 h 20 apart on the timetable, overnight
3O 378 leaves 21 h 20 after QR 3692 arrives on the timetable: more than half a day, so not a connection we count.