FR 6409 then FR 5121 at Madrid
Sofia → Madrid → Milan Bergamo
Timetable, Madrid time
20:10FR 6409 from Sofia at the gate
16:40FR 5121 to Milan Bergamo leaves the gate
20 h 30 apart on the timetable, overnight
FR 5121 leaves 20 h 30 after FR 6409 arrives on the timetable: more than half a day, so not a connection we count.