 It was inscribed on the list of UNESCO World Heritage Sites in 1988, and in 1990 was considered to be in danger due to sand encroachment.A four-year project towards the restoration and rehabilitation of the Mosque began in June 2006, and is being conducted and financed by the Aga Khan Trust for Culture.On 26 February 2010, during Mawlid (festival to mark the birth anniversary of Prophet Muhammad), a stampede at the mosque killed around 26 people and injured at least 55 others- mostly women and children.