FR 2052 then FR 5991 at Madrid
Palma de Mallorca → Madrid → Milan Bergamo
Timetable, Madrid time
16:50FR 2052 from Palma de Mallorca at the gate
09:30FR 5991 to Milan Bergamo leaves the gate
16 h 40 apart on the timetable, overnight
FR 5991 leaves 16 h 40 after FR 2052 arrives on the timetable: more than half a day, so not a connection we count.