FR 3029 then FR 3185 at Barcelona
Ibiza → Barcelona → Rabat
Timetable, Barcelona time
00:50FR 3029 from Ibiza at the gate
19:25FR 3185 to Rabat leaves the gate
18 h 35 apart on the timetable
FR 3185 leaves 18 h 35 after FR 3029 arrives on the timetable: more than half a day, so not a connection we count.