W6 4401 then FR 607 at Madrid
Sofia → Madrid → Copenhagen
Timetable, Madrid time
19:50W6 4401 from Sofia at the gate
10:10FR 607 to Copenhagen leaves the gate
14 h 20 apart on the timetable, overnight
FR 607 leaves 14 h 20 after W6 4401 arrives on the timetable: more than half a day, so not a connection we count.