FR 5445 then FR 2053 at Madrid
Beauvais → Madrid → Palma de Mallorca
Timetable, Madrid time
18:10FR 5445 from Beauvais at the gate
14:45FR 2053 to Palma de Mallorca leaves the gate
20 h 35 apart on the timetable, overnight
FR 2053 leaves 20 h 35 after FR 5445 arrives on the timetable: more than half a day, so not a connection we count.