It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both): "The Messenger of Allah (peace and blessings be upon him) used to go to al-Mughammas (a place) to relieve himself."
Nafi' (may Allah have mercy on him) said that this place lies about two miles from Makkah.