This excerpt is taken from Sheikh Hussain bin Mubarak Al-Mawsili's Arabic book Al-Awamer wal-Nawahi, which has been translated into Urdu by Muhammad Sarwar Gohar Sahib under the title Ahkamat o Mamnoaat.
① It is narrated from Sayyiduna Anas رضي الله عنه that the Messenger of Allah صلی اللہ علیہ وسلم once saw some phlegm towards the Qibla, which displeased him so much that its effect was seen on his blessed face. The Prophet صلی اللہ علیہ وسلم himself stood up and wiped it with his hand and said:
إن أحدكم إذا قام فى صلاته فإنما يناجي ربه، وإن ربه بينه وبين القبلة، فلا يبزقن أحدكم قبل قبلته، ولكن عن يساره أو تحت قدميه
"When any of you stands in prayer, he is conversing with his Lord, and his Lord is between him and the Qibla. So none of you should spit towards his Qibla, but rather to his left side or under his feet." Then the Prophet صلی اللہ علیہ وسلم took one edge of his cloak, spat into it, turned it over, and said:
أو يفعل هكذا
"Or he may do it like this."
Reference: Bukhari, Book of Prayer, 405. Muslim, Book of Prayer, Hadith 551/54.
② It is also narrated from Sayyiduna Anas رضي الله عنه that the Messenger of Allah صلی اللہ علیہ وسلم said:
البصاق فى المسجد خطيئة وكفارتها دفنها
"Spitting in the mosque is a sin, and burying it is its expiation."
Reference: Bukhari, Book of Prayer, 713. Muslim, Book of Mosques and Places of Prayer, 552. Abu Dawood, Book of Prayer, 474, 476.
① Sayyiduna Saib bin Yazid رضي الله عنه narrates, I was in the mosque when a man threw a pebble towards me. When I looked, it was Sayyiduna Umar bin Khattab رضي الله عنه. He said: Go and bring these two to me. So I brought them to him رضي الله عنه, and he asked: Where are you two from? They said: From Taif. He رضي الله عنه said: If you were from this city, I would have punished you. You raise your voices in the mosque of the Messenger of Allah صلى الله عليه وسلم.
Reference: Bukhari, Book of Prayer, 470.