FR 7236 then FR 495 at Dublin
Valletta → Dublin → Madrid
Timetable, Dublin time
15:05FR 7236 from Valletta at the gate
14:10FR 495 to Madrid leaves the gate
23 h 05 apart on the timetable, overnight
FR 495 leaves 23 h 05 after FR 7236 arrives on the timetable: more than half a day, so not a connection we count.