FR 403 then W4 7547 at Madrid
Palma de Mallorca → Madrid → Málaga
Timetable, Madrid time
20:30FR 403 from Palma de Mallorca at the gate
19:00W4 7547 to Málaga leaves the gate
22 h 30 apart on the timetable, overnight
W4 7547 leaves 22 h 30 after FR 403 arrives on the timetable: more than half a day, so not a connection we count.