Hadith 781

وعن عبد الله بن مغفل أن النبي صلى الله عليه وآله وسلم قال : « من حفر بئرا فله أربعون ذراعا عطنا لماشيته ». رواه ابن ماجه بإسناد ضعيف.
Narrated 'Abdullah bin Mughaffal (RA): The Prophet (ﷺ), "Whoever digs a well, shall have forty cubits (of land) as resting place for his animals near the water." [Reported by Ibn Majah through a weak chain of narrators].
Hadith Reference بلوغ المرام / 781
Hadith Grading محدثین: حسن
Hadith Takhrij «أخرجه ابن ماجه، الرهون، باب حريم البئر، حديث:2486، وسنده ضعيف، وله شاهد عند البيهقي:6 /155.»
Related hadith on this topic
Explanation & Benefits
Maulana Ataullah Sajid
Benefits and Issues:

➊ When camels are given water to drink, after drinking once, they sit near the well, and after some time, they drink water again. For this purpose, a place is designated near the well.

➋ Whoever digs a well in a place that is not owned by anyone, then that well and the forty hand-spans of land around it become his property.
Source: Commentary on Sunan Ibn Mājah by Mawlānā ‘Atā’ullāh Sājid, Page: 2486