FR 2085 then FR 2775 at Madrid
Ibiza → Madrid → Palma de Mallorca
Timetable, Madrid time
15:35FR 2085 from Ibiza at the gate
12:55FR 2775 to Palma de Mallorca leaves the gate
21 h 20 apart on the timetable, overnight
FR 2775 leaves 21 h 20 after FR 2085 arrives on the timetable: more than half a day, so not a connection we count.