UX 6904 then FR 9472 at Madrid
Palma de Mallorca → Madrid → Pisa
Timetable, Madrid time
07:40UX 6904 from Palma de Mallorca at the gate
20:35FR 9472 to Pisa leaves the gate
12 h 55 apart on the timetable
FR 9472 leaves 12 h 55 after UX 6904 arrives on the timetable: more than half a day, so not a connection we count.