FR 5055 then FR 188 at Madrid
Luxembourg → Madrid → Edinburgh
Timetable, Madrid time
22:35FR 5055 from Luxembourg at the gate
19:10FR 188 to Edinburgh leaves the gate
20 h 35 apart on the timetable, overnight
FR 188 leaves 20 h 35 after FR 5055 arrives on the timetable: more than half a day, so not a connection we count.