FR 2054 then FR 690 at Madrid
Palma de Mallorca → Madrid → Vienna
Timetable, Madrid time
15:55FR 2054 from Palma de Mallorca at the gate
09:45FR 690 to Vienna leaves the gate
17 h 50 apart on the timetable, overnight
FR 690 leaves 17 h 50 after FR 2054 arrives on the timetable: more than half a day, so not a connection we count.