The Allahabad high court on Friday directed the Archaeological Survey of India (ASI) to clean the premises of Jama Masjid in Sambhal but did not pass an order for whitewashing of the mosque.