The Messenger of Allah ﷺ said, "I asked my Lord's permission to seek forgiveness for my mother, but He did not grant it to me. Then I asked His permission to visit her grave, and He granted it to me."
قال رسول الله ﷺ: استأذنت ربي أن أستغفر لأمي فلم يأذن لي، واستأذنته أن أزور قبرها، فأذن لي.
Muslim narrated it in the chapters on funerals (976) through various routes from Marwan bin Muawiya, from Yazid bin Kaysan, from Abu Hazim, from Abu Hurairah, who said, and then he mentioned it.