QS 1056 then FR 5301 at Madrid
Prague → Madrid → Luxembourg
Timetable, Madrid time
13:05QS 1056 from Prague at the gate
07:15FR 5301 to Luxembourg leaves the gate
18 h 10 apart on the timetable, overnight
FR 5301 leaves 18 h 10 after QS 1056 arrives on the timetable: more than half a day, so not a connection we count.