FR 2527 then SK 4304 at Madrid
Berlin → Madrid → Copenhagen
Timetable, Madrid time
23:10FR 2527 from Berlin at the gate
17:00SK 4304 to Copenhagen leaves the gate
17 h 50 apart on the timetable, overnight
SK 4304 leaves 17 h 50 after FR 2527 arrives on the timetable: more than half a day, so not a connection we count.