MS 767 then FR 3174 at Barcelona
Cairo → Barcelona → Ibiza
Timetable, Barcelona time
14:25MS 767 from Cairo at the gate
07:45FR 3174 to Ibiza leaves the gate
17 h 20 apart on the timetable, overnight
FR 3174 leaves 17 h 20 after MS 767 arrives on the timetable: more than half a day, so not a connection we count.