FR 5310 then W6 4402 at Madrid
Milan Bergamo → Madrid → Sofia
Timetable, Madrid time
21:45FR 5310 from Milan Bergamo at the gate
20:35W6 4402 to Sofia leaves the gate
22 h 50 apart on the timetable, overnight
W6 4402 leaves 22 h 50 after FR 5310 arrives on the timetable: more than half a day, so not a connection we count.