Bara bin Azib reported,

A Jewish man, his face blackened with soot and lashed, was brought before the Messenger of Allah ﷺ. He summoned the Jews and asked, "Is this how you find the punishment for an adulterer in your Book?"They replied, "Yes."He then called one of their scholars and said to him, "I adjure you by Allah who revealed the Torah to Musa, is this how you find the punishment for an adulterer in your Book?"The scholar answered, "No, by Allah. Had you not adjured me by this oath, I would not have told you. We find in our Book that the punishment for an adulterer is stoning. But it became widespread among our nobles, so whenever we caught a noble we let him go, and whenever we caught a weak person we carried out the punishment on him. So we said, 'Come, let us agree on something we can apply equally to the noble and the lowly.' We then settled on blackening the face and lashing as a substitute for stoning."The Messenger of Allah ﷺ said, "O Allah, I am the first to revive Your command when they had killed it." He then ordered that the man be stoned, and he was stoned.Allah عز وجل then revealed, "Messenger, do not be grieved by those who hasten into disbelief," up to His words, "saying, 'If you are given this, take it.'" They were saying, "Go to Muhammad. If he gives you a ruling of blackening the face and lashing, accept it, but if he rules with stoning, beware." This continues to His words, "And whoever does not judge by what Allah has revealed, then those are the disbelievers." He said, this was revealed concerning the Jews, up to His words, "And whoever does not judge by what Allah has revealed, then those are the wrongdoers," and "And whoever does not judge by what Allah has revealed, then those are the defiantly disobedient." He said, all of these verses concern the disbelievers.

Ahmad 18525

Sahih

حدثنا أبو معاوية حدثنا الأعمش عن عبد الله بن مرة

عن البراء بن عازب قال

مر على رسول الله ﷺ بيهودي محمم مجلود فدعاهم فقال أهكذا تجدون حد الزاني في كتابكم فقالوا نعم قال فدعا رجلا من علمائهم فقال أنشدك بالله الذي أنزل التوراة على موسى أهكذا تجدون حد الزاني في كتابكم فقال لا والله ولولا أنك أنشدتني بهذا لم أخبرك نجد حد الزاني في كتابنا الرجم ولكنه كثر في أشرافنا فكنا إذا أخذنا الشريف تركناه وإذا أخذنا الضعيف أقمنا عليه الحد فقلنا تعالوا حتى نجعل شيئا نقيمه على الشريف والوضيع فاجتمعنا على التحميم والجلد فقال رسول الله ﷺ اللهم إني أول من أحيا أمرك إذ أماتوه قال فأمر به فرجم فأنزل الله عز وجل {يا أيها الرسول لا يحزنك الذين يسارعون في الكفر} إلى قوله {يقولون إن أوتيتم هذا فخذوه} يقولون ائتوا محمدا فإن أفتاكم بالتحميم والجلد فخذوه وإن أفتاكم بالرجم فاحذروا إلى قوله {ومن لم يحكم بما أنزل الله فأولئك هم الكافرون} قال في اليهود إلى قوله {ومن لم يحكم بما أنزل الله فأولئك هم الظالمون} {ومن لم يحكم بما أنزل الله فأولئك هم الفاسقون} قال هي في الكفار كلها

أحمد 18525صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Bara bin Azib
Numbering
Darussalam 18525
Ahmad 18525