3O 373 then QR 3547 at Barcelona
Casablanca → Barcelona → Santiago de Compostela
Timetable, Barcelona time
21:203O 373 from Casablanca at the gate
21:15QR 3547 to Santiago de Compostela leaves the gate
23 h 55 apart on the timetable, overnight
QR 3547 leaves 23 h 55 after 3O 373 arrives on the timetable: more than half a day, so not a connection we count.