Amazingly someone asked this exact question a couple of days ago! There's always lots more to say, but here is my answer, with some links to some previous ones as well:
How did early Muslims view the ancient Egyptian pyramids?