When the Messenger of Allah ﷺ arrived in Medina, he gathered the women of the Ansar in a house, then sent Umar bin Khattab to them. He stood at the door and gave the greeting of peace, and they returned the greeting.He said, "I am the messenger of the Messenger of Allah ﷺ to you."We said, "Welcome to the Messenger of Allah and to the messenger of the Messenger of Allah."He said, "Pledge that you will not associate anything with Allah, will not commit adultery, will not kill your children, will not bring forth slander you have fabricated between your hands and feet, and will not disobey him in what is right."We said, "Yes." So we extended our hands from inside the house, and he extended his hand from outside the house. Then he said, "O Allah, bear witness."He commanded us regarding the two Eids to bring out the unmarried girls and the menstruating women, and he forbade us from following funeral processions, and the Friday prayer was not obligatory upon us.I asked her about his words, "and will not disobey you in what is right" [Mumtahanah 60:12].She said, "We were forbidden from wailing over the dead."
حدثنا أبو سعيد حدثنا إسحاق بن عثمان الكلابي أبو يعقوب حدثنا إسماعيل بن عبد الرحمن ابن عطية الأنصاري
لما قدم رسول الله ﷺ المدينة جمع نساء الأنصار في بيت ثم بعث إليهن عمر بن الخطاب رضي الله عنه قام على الباب فسلم فرددن عليه السلام فقال أنا رسول رسول الله ﷺ إليكن قلنا مرحبا برسول الله ورسول رسول الله وقال تبايعن على أن لا تشركن بالله شيئا ولا تزنين ولا تقتلن أولادكن ولا تأتين ببهتان تفترينه بين أيديكن وأرجلكن ولا تعصينه في معروف قلنا نعم فمددنا أيدينا من داخل البيت ومد يده من خارج البيت ثم قال اللهم اشهد وأمرنا بالعيدين أن نخرج العتق والحيض ونهى عن اتباع الجنائز ولا جمعة علينا وسألتها عن قوله {ولا يعصينك في معروف} قالت نهينا عن النياحة
Its isnad is sahih. Ishaq bin Uthman Kullabi and Ismail bin Abdul-Rahman bin Atiya are both trustworthy, though they narrated only a small number of hadiths, and their hadith is found in Abu Dawud. It is also found in Bayhaqi 3/184, in the chapter on Jumuah, on those who are not obligated to attend Jumuah.