FR 3881 then FR 3995 at Dublin
Dubrovnik → Dublin → Agadir
Timetable, Dublin time
23:05FR 3881 from Dubrovnik at the gate
18:40FR 3995 to Agadir leaves the gate
19 h 35 apart on the timetable, overnight
FR 3995 leaves 19 h 35 after FR 3881 arrives on the timetable: more than half a day, so not a connection we count.