عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ حَرِيمُ الْبِئْرِ أَرْبَعُونَ ذِرَاعًا مِنْ حَوَالَيْهَا كُلِّهَا لِأَعْطَانِ الْإِبِلِ وَالْغَنَمِ وَابْنُ السَّبِيلِ أَوَّلُ شَارِبٍ وَلَا يُمْنَعُ فَضْلُ مَاءٍ لِيُمْنَعَ بِهِ الْكَلَأُ
Narrated by Sayyiduna Abu Huraira (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: The enclosure of a well will be forty cubits from all sides; this space will be for camels and goats to sit. The first person to drink from such a well will be a traveler, and surplus water should not be withheld for the purpose of preventing others from using the grass through it.