مَنْ صَلَّى عَلَيَّ عِنْدَ قَبْرِي سَمِعْتُهُ وَمَنْ صَلَّى عَلَيَّ نَائِيًا أُبْلِغْتُهُ
Whoever sends blessings upon me by my grave, I hear it; and whoever sends blessings from far away, it is conveyed to me. (Narrated from Abu Hurayrah; Shuʿab al-Iman)
The report distinguishes near my grave from at a distance. Both contexts emphasize the value of invoking blessings upon the Prophet ﷺ.