NP 6131 then EC 7151 at Barcelona
Cairo → Barcelona → Milan
Timetable, Barcelona time
10:55NP 6131 from Cairo at the gate
07:30EC 7151 to Milan leaves the gate
20 h 35 apart on the timetable, overnight
EC 7151 leaves 20 h 35 after NP 6131 arrives on the timetable: more than half a day, so not a connection we count.