Q- Rasulullah (sallallahu ‘alayhi wa sallam) is reported to have said, “Talking in the Masjid consumes good deeds just as animals consume grass.” മസ്ജിദിൽ സംസാരിക്കുന്നത് മൃഗങ്ങൾ പുല്ല് തിന്നുന്നതുപോലെ സൽകർമ്മങ്ങൾ കഴിക്കുന്നു?
Allamah Subki and ‘Allamah ‘Iraqi (rahimahumallah) have stated that they have not come across any basis for this narration. (Tabaqatush Shafi’iyyah, vol. 6 pg. 294, Al Mughni ‘An Hamlil Asfar, Hadith: 410)
Mulla ‘Ali Al Qari (rahimahullah) has cited this narration in his book on fabricated Hadiths and has stated this Hadith is not found (لم يوجد). (Al Masnu’: Hadith: 109. Also see footnotes of Shaykh ‘Abdul Fattah Abu Ghuddah rahimahullah)
The Hadith in question is therefore not suitable to quote.
And Allah Ta’ala Knows Best
https://hadithanswers.com/a-narration-stating-that-speaking-in-the-masjid-consumes-good-deeds/
https://askimam.org/public/question_detail/31725
https://hadithanswers.com/speaking-in-the-masjid/
https://hadithanswers.com/is-laughing-in-the-masjid-a-cause-of-darkness-in-the-grave/