Sayyiduna Anas bin Malik (may Allah be pleased with him) said: When the Messenger of Allah (peace and blessings be upon him) returned from Uhud, he heard the women of the Ansar weeping, and he (peace and blessings be upon him) said: "But Hamzah (may Allah be pleased with him) has no women to weep for him." This reached the women of the Ansar, and they began weeping for Sayyiduna Hamzah (may Allah be pleased with him). He (peace and blessings be upon him) slept, then woke up while they were still weeping, and he (peace and blessings be upon him) said: "Woe to you! Are you still weeping? Let them be silent, and let them not weep over anyone who dies after today."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 7154