MS 951 then NH 920 at Pudong
Cairo → Shanghai → Tokyo Narita
Timetable, Shanghai time
14:55MS 951 from Cairo at the gate
13:35NH 920 to Tokyo Narita leaves the gate
22 h 40 apart on the timetable, overnight
NH 920 leaves 22 h 40 after MS 951 arrives on the timetable: more than half a day, so not a connection we count.