Abu Hurairah reported,

The Prophet ﷺ said, "Fasting is a shield. When any of you is fasting, let him not speak indecently or behave foolishly. If someone tries to fight him or insult him, let him say, 'I am fasting, I am fasting.'"

Azami 4627

Sahih

عن أبي هريرة

أن النبي ﷺ قال: الصيام جنة، فإذا كان أحدكم صائما فلا يرفث ولا يجهل. فإن امرؤ قاتله أو شاتمه فليقل: إني صائم، إني صائم.

الأعظمي 4627صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
What is permitted and what is not permitted for the fasting person
Section
Warning against backbiting, obscene speech, and false testimony for the fasting person
Numbering
Jami al-Kamil 4627 (2nd edition)
Azami 4627