IB 130 then FR 394 at Madrid
Recife → Madrid → Ibiza
Timetable, Madrid time
10:05IB 130 from Recife at the gate
06:30FR 394 to Ibiza leaves the gate
20 h 25 apart on the timetable, overnight
FR 394 leaves 20 h 25 after IB 130 arrives on the timetable: more than half a day, so not a connection we count.