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