FR 9601 then FR 5054 at Madrid
Rome → Madrid → Luxembourg
Timetable, Madrid time
19:10FR 9601 from Rome at the gate
12:35FR 5054 to Luxembourg leaves the gate
17 h 25 apart on the timetable, overnight
FR 5054 leaves 17 h 25 after FR 9601 arrives on the timetable: more than half a day, so not a connection we count.