Aerial photographs showed thousands more pilgrims gathered on the buildings around the Ka`bah.
Meanwhile, Islamic authorities in Jerusalem said 250,000 people gathered to attend prayers at the Al-Aqsa Mosque to mark Laylat al-Qadr.
Muslims dedicate their time during the holy month to be closer to Allah through prayers, self-restraint and good deeds.
The last ten nights of Ramadan are very special. These are the nights that the Prophet Muhammad would spend in constant worship. Among these nights is Laylat al-Qadr (the Night of Power) – a night more blessed than a thousand months.
Laylat al-Qadr, or Night of Power, is believed by Muslims to be the night the first verses of the Quran were revealed to the Prophet Muhammad.
Laylat al-Qadr is said to fall on one of the odd nights of the last 10 days of Ramadan, with the exact night unknown, although it is commonly believed to be the 27th.
The Prophet used to single these nights out for worship and the performance of good deeds. He would exert himself in worship during these ten nights more than any other nights of the year.