It is narrated from Hazrat Bara bin Azib (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) prescribed the punishment of stoning.