FR 7157 then FR 7235 at Dublin
Madrid → Dublin → Valletta
Timetable, Dublin time
23:00FR 7157 from Madrid at the gate
19:45FR 7235 to Valletta leaves the gate
20 h 45 apart on the timetable, overnight
FR 7235 leaves 20 h 45 after FR 7157 arrives on the timetable: more than half a day, so not a connection we count.