Al-Ilmam bi-Ahadith al-Ahkam 87
رَوَى البُخَارِيّ من حَدِيث عبد الله هُوَ ابْن مَسْعُود: " أَتَى النَّبِي ﷺ الْغَائِط فَأمرنِي أَن أتبعه بِثَلَاثَة أَحْجَار، فَوجدت حجرين والتمست الثَّالِث فَلم أَجِدهُ، فَأخذت رَوْثَة فَأَتَيْته بهَا، فَأخذ الحجرين وَألقَى الروثة، وَقَالَ: " هَذِه ركس ".
Al-Bukhari narrated, from the hadith of ʿAbdullah, who is Ibn Masʿud: "The Prophet ﷺ went to relieve himself and told me to bring him three stones. I found two stones and looked for the third but did not find it, so I took a piece of dung and brought it to him. He took the two stones and threw away the dung, and said: 'This is filth.'"