UX 1042 then FR 2066 at Madrid
Rome → Madrid → Ibiza
Timetable, Madrid time
18:30UX 1042 from Rome at the gatealso AD 6905
14:40FR 2066 to Ibiza leaves the gate
20 h 10 apart on the timetable, overnight
FR 2066 leaves 20 h 10 after UX 1042 arrives on the timetable: more than half a day, so not a connection we count.