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