VY 5099 then FR 394 at Madrid
Rome → Madrid → Ibiza
Timetable, Madrid time
14:35VY 5099 from Rome at the gatealso OB 5207, LA 5440, QR 6860, AA 8756
06:40FR 394 to Ibiza leaves the gate
16 h 05 apart on the timetable, overnight
FR 394 leaves 16 h 05 after VY 5099 arrives on the timetable: more than half a day, so not a connection we count.