Residents in Cairo were woken by the tremor, which was also felt near Egypt's border with Gaza, though no injuries have been reported so far.