FR 5055 then FR 2513 at Madrid
Luxembourg → Madrid → Bucharest
Timetable, Madrid time
20:35FR 5055 from Luxembourg at the gate
16:40FR 2513 to Bucharest leaves the gate
20 h 05 apart on the timetable, overnight
FR 2513 leaves 20 h 05 after FR 5055 arrives on the timetable: more than half a day, so not a connection we count.