Anas bin Malik reported,

He narrated to them that some people, or some men, from Ukl and Urayna came to the Messenger of Allah ﷺ and professed Islam. They said, "Prophet of Allah, we were people of livestock and not people of cultivated land," and they found the climate of Madinah unhealthy.So the Messenger of Allah ﷺ ordered that some camels and a shepherd be provided for them, and instructed them to go out with the camels and drink from their milk and urine. They set out, but when they reached the area of al-Harrah, they renounced Islam after having embraced it, killed the shepherd of the Messenger of Allah ﷺ, and drove the camels away.When news of this reached the Prophet ﷺ, he sent men in pursuit of them. They were captured on his orders, their eyes were branded with hot iron nails, their hands were cut off, and they were left in the area of al-Harrah until they died in that condition.

Bukhari 5727

Sahih

حدثنا عبد الأعلى بن حماد حدثنا يزيد بن زريع حدثنا سعيد حدثنا قتادة أن

أنس بن مالك

حدثهم أن ناسا أو رجالا من عكل وعرينة قدموا على رسول الله ﷺ وتكلموا بالإسلام وقالوا يا نبي الله إنا كنا أهل ضرع ولم نكن أهل ريف واستوخموا المدينة فأمر لهم رسول الله ﷺ بذود وبراع وأمرهم أن يخرجوا فيه فيشربوا من ألبانها وأبوالها فانطلقوا حتى كانوا ناحية الحرة كفروا بعد إسلامهم وقتلوا راعي رسول الله ﷺ واستاقوا الذود فبلغ النبي ﷺ فبعث الطلب في آثارهم وأمر بهم فسمروا أعينهم وقطعوا أيديهم وتركوا في ناحية الحرة حتى ماتوا على حالهم

البخاري 5727صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Medicine
Chapter
Who left a land that did not suit him
Numbering
Darussalam 5727
Bukhari 5727