UX 1172 then FR 394 at Madrid
Brussels → Madrid → Ibiza
Timetable, Madrid time
13:15UX 1172 from Brussels at the gate
06:40FR 394 to Ibiza leaves the gate
17 h 25 apart on the timetable, overnight
FR 394 leaves 17 h 25 after UX 1172 arrives on the timetable: more than half a day, so not a connection we count.