EC 7152 then MS 768 at Barcelona
Milan → Barcelona → Cairo
Timetable, Barcelona time
16:10EC 7152 from Milan at the gate
15:25MS 768 to Cairo leaves the gate
23 h 15 apart on the timetable, overnight
MS 768 leaves 23 h 15 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.