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