FR 2437 then W4 7403 at Madrid
Rome → Madrid → Palma de Mallorca
Timetable, Madrid time
22:45FR 2437 from Rome at the gate
20:15W4 7403 to Palma de Mallorca leaves the gate
21 h 30 apart on the timetable, overnight
W4 7403 leaves 21 h 30 after FR 2437 arrives on the timetable: more than half a day, so not a connection we count.