Abu Qilaba reported,

Abu Qilaba reported that he was sitting behind Umar bin Abdul-Aziz when the people there discussed a certain matter at length. They said, "The caliphs have carried out retaliation for this." Umar turned to Abu Qilaba, who was behind him, and asked, "What do you say, Abdullah bin Zayd?" Or he said, "What do you say, Abu Qilaba?"I replied, "I do not know of any soul whose killing is permitted in Islam except a man who commits adultery after having been married, or one who kills another person without just cause, or one who wages war against Allah and His Messenger ﷺ."Anbasa then said, "Anas narrated to us such and such."I said, "Anas narrated it to me directly." I continued, "A group of people came to the Prophet ﷺ and spoke with him, saying, 'We have found this land unhealthy.' He said, 'Here are some camels of ours being taken out to pasture. Go out with them and drink from their milk and their urine.' So they went out with them and drank from their urine and their milk and recovered their health. Then they turned on the herdsman, killed him, and drove off the camels. What punishment could be considered too severe for such people? They killed a person, waged war against Allah and His Messenger, and terrorized the Messenger of Allah ﷺ."Anbasa exclaimed, "Glory be to Allah!"I said, "Do you doubt me?"He replied, "Anas narrated this very thing to us." Then he said, "People of such and such, you will continue to be in a state of good as long as this man, or one like him, remains among you."

Azami 12252

Sahih

عن أبي قلابة

أنه كان جالسا خلف عمر بن عبد العزيز، فذكروا ما ذكروا، فقالوا وقالوا: قد أقادت بها الخلفاء، فالتفت إلى أبي قلابة وهو خلف ظهره فقال ما تقول يا عبد الله بن زيد أو قال ما تقول يا أبا قلابة؟ قلت: ما علمت نفسا حل قتلها في الإسلام إلا رجل زنى بعد إحصان أو قتل نفسا بغير نفس أو حارب الله ورسوله ﷺ. فقال عنبسة: حدثنا أنس بكذا وكذا. قلت: إياي حدث أنس. قال: قدم قوم على النبي ﷺ. فكلموه فقالوا: قد استوخمنا هذه الأرض، فقال: هذه نعم لنا تخرج، فاخرجوا فيها، فاشربوا من ألبانها وأبوالها. فخرجوا فيها فشربوا من أبوالها وألبانها واستصحوا، ومالوا على الراعي فقتلوه، واطردوا النعم، فما يستبطأ من هؤلاء؟ قتلوا النفس وحاربوا الله ورسوله، وخوفوا رسول الله ﷺ فقال: سبحان الله فقلت: تتهمني؟ قال: حدثنا بهذا أنس، قال: وقال: يا أهل كذا، إنكم لن تزالوا بخير ما أبقي هذا فيكم أو مثل هذا.

الأعظمي 12252صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "The recompense of those who wage war against Allah and His Messenger and strive to spread corruption in the land is that they be killed or crucified or that their hands and feet be cut off from opposite sides or that they be exiled from the land. That is for them a disgrace in this world, and for them in the Hereafter is a great punishment. Except for those who repent before you have power over them, then know that Allah is Forgiving, Merciful"
Numbering
Jami al-Kamil 12252 (2nd edition)
Azami 12252