A stampede at the landmark Umayyad Mosque in Syria's capital on Friday killed three people, the governor of Damascus said.