عَنِ الْحَسَنِ عَنْ سَمُرَةَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ أَحَاطَ حَائِطًا عَلَى الْأَرْضِ فَهُوَ لَهُ» . رَوَاهُ أَبُو دَاوُدَ
Translation

Asmar b. Mudarris told that when he came and swore allegiance to the Prophet he said, “If anyone comes to water, no Muslim having come to it before him, it belongs to him.” Abu Dawud transmitted it.