A small town three miles from Mecca, which is the site of special ceremonies performed by Muslim pilgrims to the Kaʿba .