Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
nasai-kubra:7755al-Ḥasan b. Aḥmad > Abū al-Rabīʿ > Ḥammād > Ayyūb > Muḥammad > Um ʿAṭiyyah

"The Messenger of Allah accepted our pledge that we would not wail (for the dead)." (Using translation from Nasāʾī 4180)  

الكبرى للنسائي:٧٧٥٥أَخْبَرَنَا الْحَسَنُ بْنُ أَحْمَدَ قَالَ حَدَّثَنَا أَبُو الرَّبِيعِ قَالَ أَخْبَرَنَا حَمَّادٌ قَالَ حَدَّثَنَا أَيُّوبُ عَنْ مُحَمَّدٍ عَنْ أُمِّ عَطِيَّةَ قَالَتْ

«أَخَذَ عَلَيْنَا رَسُولُ اللهِ ﷺ الْبَيْعَةَ عَلَى أَنْ لَا نَنُوحَ»  


See similar narrations below:

Collected by Nasāʾī
nasai:4180al-Ḥasan b. Aḥmad > Abū al-Rabīʿ > Ḥammād > Ayyūb > Muḥammad > Um ʿAṭiyyah

"The Messenger of Allah accepted our pledge that we would not wail (for the dead)."  

النسائي:٤١٨٠أَخْبَرَنَا الْحَسَنُ بْنُ أَحْمَدَ قَالَ حَدَّثَنَا أَبُو الرَّبِيعِ قَالَ أَنْبَأَنَا حَمَّادٌ قَالَ حَدَّثَنَا أَيُّوبُ عَنْ مُحَمَّدٍ عَنْ أُمِّ عَطِيَّةَ قَالَتْ

أَخَذَ عَلَيْنَا رَسُولُ اللَّهِ ﷺ الْبَيْعَةَ عَلَى أَنْ لاَ نَنُوحَ