FR 3184 then W6 2378 at Barcelona
Rabat → Barcelona → Budapest
Timetable, Barcelona time
00:50FR 3184 from Rabat at the gate
20:50W6 2378 to Budapest leaves the gate
20 h apart on the timetable
W6 2378 leaves 20 h after FR 3184 arrives on the timetable: more than half a day, so not a connection we count.