FR 1105 then FR 495 at Dublin
Paphos → Dublin → Madrid
Timetable, Dublin time
17:20FR 1105 from Paphos at the gate
10:00FR 495 to Madrid leaves the gate
16 h 40 apart on the timetable, overnight
FR 495 leaves 16 h 40 after FR 1105 arrives on the timetable: more than half a day, so not a connection we count.