FR 3184 then FR 3078 at Barcelona
Rabat → Barcelona → Lisbon
Timetable, Barcelona time
00:50FR 3184 from Rabat at the gate
16:45FR 3078 to Lisbon leaves the gate
15 h 55 apart on the timetable
FR 3078 leaves 15 h 55 after FR 3184 arrives on the timetable: more than half a day, so not a connection we count.