Sunan an Nasai
3195
Sahih+2

It was narrated from Jabr that he entered with the Messenger of Allah (ﷺ) upon someone who was dying, and the women were weeping. Jabr said:"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

SahihAbu Ghuddah
SahihAl-Albani