FR 393 then FR 494 at Madrid
Ibiza → Madrid → Dublin
Timetable, Madrid time
21:25FR 393 from Ibiza at the gate
18:25FR 494 to Dublin leaves the gate
21 h apart on the timetable, overnight
FR 494 leaves 21 h after FR 393 arrives on the timetable: more than half a day, so not a connection we count.