FR 2527 then W4 7547 at Madrid
Berlin → Madrid → Málaga
Timetable, Madrid time
23:10FR 2527 from Berlin at the gate
20:55W4 7547 to Málaga leaves the gate
21 h 45 apart on the timetable, overnight
W4 7547 leaves 21 h 45 after FR 2527 arrives on the timetable: more than half a day, so not a connection we count.