Umm Atiya reported,

When the Messenger of Allah ﷺ arrived in Medina, he gathered the women of the Ansar in a house and sent Umar bin Khattab to them. He stood at the door and greeted them, and they returned the greeting.Umar said, "I am the messenger of the Messenger of Allah ﷺ sent to you."They replied, "Welcome to the Messenger of Allah ﷺ and to his messenger."He said, "Pledge that you will not associate anything with Allah, that you will not steal, that you will not commit fornication, that you will not kill your children, that you will not bring forth a slander you have fabricated between your hands and your feet, and that you will not disobey in what is right."They said, "Yes."Umar then extended his hand from outside the door, and they extended their hands from inside. Then he said, "O Allah, bear witness."We were commanded to go out on the two Eids, both the freed women and the menstruating women, and we were forbidden from following funeral processions, and the Friday prayer is not obligatory upon us.I asked him about the slander and about His saying, "and they will not disobey you in what is right" [Mumtahanah 60:12].He said, "It refers to wailing over the dead."

Ahmad 27309

Sahih

حدثنا عبد الصمد قال حدثنا إسحاق أبو يعقوب قال حدثنا إسماعيل أبو عبد الرحمن بن عطية

عن جدته أم عطية قالت

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

أحمد 27309صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Umm Atiya Ansariya
Numbering
Darussalam 27309
Ahmad 27309