FR 215 then FR 104 at Vienna
Milan → Vienna → Palma de Mallorca
Timetable, Vienna time
15:50FR 215 from Milan at the gate
12:25FR 104 to Palma de Mallorca leaves the gate
20 h 35 apart on the timetable, overnight
FR 104 leaves 20 h 35 after FR 215 arrives on the timetable: more than half a day, so not a connection we count.