Sahih al-Bukhari, Book 68, Hadith 85 (Bukhari 5126)

Narrated Um 'Atiyya:

We were forbidden to mourn for more than three days except for a husband.