Sunan an-Nasa'i · No. 3195Chapter 25
" دَعْهُنَّ يَبْكِينَ مَا دَامَ بَيْنَهُنَّ فَإِذَا وَجَبَ فَلاَ تَبْكِيَنَّ بَاكِيَةٌ "
"Are you weeping when the Messenger of Allah (ﷺ) is sitting here?" He said: "Let them weep so long as he is among them, but if he dies no one should weep for him."