FR 5719 then FR 6078 at Barcelona
Bratislava → Barcelona → Ouarzazate
Timetable, Barcelona time
08:35FR 5719 from Bratislava at the gate
05:45FR 6078 to Ouarzazate leaves the gate
21 h 10 apart on the timetable, overnight
FR 6078 leaves 21 h 10 after FR 5719 arrives on the timetable: more than half a day, so not a connection we count.