The Rasool صلى الله عليه وسلم settled the issue very wisely and justly. He صلى الله عليه وسلم placed the Black Stone on a piece of cloth and asked the representatives of different tribes to hold the corners of the cloth and carry the Black Stone on the Ka'bah. When they reached near the holy building, the Rasool صلى الله عليه وسلم took off the Black Stone and set it in the wall. In this way he صلى الله عليه وسلم settled the dipute.