AZ 58 then FR 5301 at Madrid
Rome → Madrid → Luxembourg
Timetable, Madrid time
10:50AZ 58 from Rome at the gate
07:15FR 5301 to Luxembourg leaves the gate
20 h 25 apart on the timetable, overnight
FR 5301 leaves 20 h 25 after AZ 58 arrives on the timetable: more than half a day, so not a connection we count.