W6 2371 then FR 2753 at Madrid
Budapest → Madrid → Milan
Timetable, Madrid time
19:15W6 2371 from Budapest at the gate
09:35FR 2753 to Milan leaves the gate
14 h 20 apart on the timetable, overnight
FR 2753 leaves 14 h 20 after W6 2371 arrives on the timetable: more than half a day, so not a connection we count.