When the Messenger of Allah ﷺ passed by al-Hijr, he said, "Do not ask for signs, for the people of Salih asked for them. The she-camel used to come in through this pass and go out through that pass. They defied the command of their Lord and hamstrung her. She would drink their water one day, and they would drink her milk the next, then they hamstrung her. So a mighty blast seized them, and Allah destroyed every one of them under the canopy of the sky, except one man who was in the sanctuary of Allah
."It was asked, "Who was he, Messenger of Allah?"He replied, "He was Abu Righal. When he left the sanctuary, what befell his people befell him."
حدثنا عبد الرزاق حدثنا معمر عن عبد الله بن عثمان بن خثيم عن أبي الزبير
لما مر رسول الله ﷺ بالحجر قال لا تسألوا الآيات وقد سألها قوم صالح فكانت ترد من هذا الفج وتصدر من هذا الفج فعتوا عن أمر ربهم فعقروها فكانت تشرب ماءهم يوما ويشربون لبنها يوما فعقروها فأخذتهم صيحة أهمد الله عز وجل من تحت أديم السماء منهم إلا رجلا واحدا كان في حرم الله عز وجل قيل من هو يا رسول الله قال هو أبو رغال فلما خرج من الحرم أصابه ما أصاب قومه
Its isnad is sahih. Ibn Bakr is Muhammad bin Bakr Bursani, who passes on a lot of narrations.The hadith was narrated by Abu Dawud (3/700, no. 3415, Hims edition) in the Book of Business Transactions, chapter on estimating crop yields, Ibn Majah (1/582, no. 1820) in the Book of Zakat, chapter on estimating the yield of palm trees and grapevines, and Malik in Muwatta (703, no. 221) in the Book of Sharecropping.