He was sitting with Ziyad when a man was brought before him who had given testimony and then changed it. Ziyad said, "I will surely cut out your tongue."Yala said to him, "Shall I tell you a hadith I heard from the Messenger of Allah ﷺ? I heard the Messenger of Allah ﷺ say, 'Allah has said, Do not mutilate My servants.'"So he let him go.
حدثنا عبد الله بن محمد قال عبد الله وسمعته أنا من عبد الله بن محمد بن أبي شيبة حدثنا محمد بن فضيل عن عطاء بن السائب عن عبد الله بن حفص
أنه كان عند زياد جالسا فأتي برجل شهد فغير شهادته فقال لأقطعن لسانك فقال له يعلى ألا أحدثك حديثا سمعته من رسول الله ﷺ سمعت رسول الله ﷺ يقول قال الله عز وجل لا تمثلوا بعبادي قال فتركه
Its chain of transmission is daif, because of the obscurity of Abdullah bin Hafs.