W4 7451 then FR 2528 at Madrid
Santiago de Compostela → Madrid → Berlin
Timetable, Madrid time
13:00W4 7451 from Santiago de Compostela at the gate
06:40FR 2528 to Berlin leaves the gate
17 h 40 apart on the timetable, overnight
FR 2528 leaves 17 h 40 after W4 7451 arrives on the timetable: more than half a day, so not a connection we count.