AZ 64 then FR 2063 at Madrid
Rome → Madrid → Palma de Mallorca
Timetable, Madrid time
00:05AZ 64 from Rome at the gate
13:45FR 2063 to Palma de Mallorca leaves the gate
13 h 40 apart on the timetable
FR 2063 leaves 13 h 40 after AZ 64 arrives on the timetable: more than half a day, so not a connection we count.