FR 2062 then FR 6713 at Madrid
Palma de Mallorca → Madrid → Budapest
Timetable, Madrid time
16:05FR 2062 from Palma de Mallorca at the gate
09:50FR 6713 to Budapest leaves the gate
17 h 45 apart on the timetable, overnight
FR 6713 leaves 17 h 45 after FR 2062 arrives on the timetable: more than half a day, so not a connection we count.