QR 3575 then FR 3185 at Barcelona
Palma de Mallorca → Barcelona → Rabat
Timetable, Barcelona time
18:05QR 3575 from Palma de Mallorca at the gate
12:05FR 3185 to Rabat leaves the gate
18 h apart on the timetable, overnight
FR 3185 leaves 18 h after QR 3575 arrives on the timetable: more than half a day, so not a connection we count.