FR 3184 then QR 3535 at Barcelona
Rabat → Barcelona → Santiago de Compostela
Timetable, Barcelona time
21:05FR 3184 from Rabat at the gate
09:10QR 3535 to Santiago de Compostela leaves the gate
12 h 05 apart on the timetable, overnight
QR 3535 leaves 12 h 05 after FR 3184 arrives on the timetable: more than half a day, so not a connection we count.