Riyad as-SalihinChapter 6Hadith 252
Full Sharh — Riyad as-Salihin 252
وعن أم عطية رضي الله عنها قالت: نهينا عن اتباع الجنائز، ولم يعزم علينا" ((متفق عليه)) . "ومعناه " ولم يشدد في النهي كما يشدد في المحرمات.
English Translation
Umm Atiyyah (May Allah be pleased with her) reported:: We (womenfolk) were prohibited from accompanying a funeral procession, but we were not compelled (not to do so)..
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Visiting the Sick
Hadith Number
252