FR 6712 then I2 1665 at Madrid
Budapest → Madrid → Palma de Mallorca
Timetable, Madrid time
18:10FR 6712 from Budapest at the gate
13:40I2 1665 to Palma de Mallorca leaves the gatealso IB 1665
19 h 30 apart on the timetable, overnight
I2 1665 leaves 19 h 30 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.