3O 397 then QR 3527 at Barcelona
Rabat → Barcelona → Rome
Timetable, Barcelona time
08:003O 397 from Rabat at the gate
20:50QR 3527 to Rome leaves the gate
12 h 50 apart on the timetable
QR 3527 leaves 12 h 50 after 3O 397 arrives on the timetable: more than half a day, so not a connection we count.