FR 3813 then FR 5054 at Madrid
Bologna → Madrid → Luxembourg
Timetable, Madrid time
21:35FR 3813 from Bologna at the gate
12:35FR 5054 to Luxembourg leaves the gate
15 h apart on the timetable, overnight
FR 5054 leaves 15 h after FR 3813 arrives on the timetable: more than half a day, so not a connection we count.