FR 5898 then UX 6031 at Madrid
Torino → Madrid → Palma de Mallorca
Timetable, Madrid time
15:10FR 5898 from Torino at the gate
08:20UX 6031 to Palma de Mallorca leaves the gatealso AM 6907, AD 6958, EY 7582
17 h 10 apart on the timetable, overnight
UX 6031 leaves 17 h 10 after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.