The pyramids are non-representational—they aren’t an image of anyone or anything—so they might be spared. Or maybe just have phrases from the Koran carved into them.
To spare them would mean to imply that civilization existed before Islam.
That’s a big no-no, unfortunately.