Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:9947ʿAbd al-Raḥman > Salīm > Saʿīd > Abū Hurayrah

[Machine] Narrated by the Prophet ﷺ and Bahz, he said: Salim bin Hayyan informed us that Saeed narrated to us from Abu Hurairah who narrated from the Prophet ﷺ who said, "Fasting is a shield. So if one of you is fasting, then let him not indulge in obscene speech or act foolishly. If someone reviles him or fights with him, let him say: 'Indeed, I am fasting.' Bahz said: If someone reviles him or fights with him, let him say: 'Indeed, I am fasting.' Similarly, Affan said: If someone reviles him or fights with him, let him say: 'Indeed, I am fasting.'"  

أحمد:٩٩٤٧حَدَّثَنَا عَبْدُ الرَّحْمَنِ حَدَّثَنَا سَلِيمٌ عَنْ سَعِيدٍ عَنْ أَبِي هُرَيْرَةَ

عَنِ النَّبِيِّ ﷺ وَبَهْزٌ قَالَ حَدَّثَنِي سَلِيمُ بْنُ حَيَّانَ قَالَ حَدَّثَنَا سَعِيدٌ عَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ ﷺ قَالَ الصَّوْمُ جُنَّةٌ وَإِذَا كَانَ أَحَدُكُمْ يَوْمًا صَائِمًا فَلَا يَرْفُثْ وَلَا يَجْهَلْ فَإِنْ أَحَدٌ شَتَمَهُ أَوْ فَإِنْ امْرُؤٌ شَتَمَهُ فَلْيَقُلْ إِنِّي صَائِمٌ قَالَ بَهْزٌ فَإِنْ امْرُؤٌ شَتَمَهُ أَوْ قَاتَلَهُ فَلْيَقُلْ إِنِّي صَائِمٌ وَكَذَا قَالَ عَفَّانُ أَوْ قَاتَلَهُ  


See similar narrations below:

Collected by Nasāʾī's Kubrá
nasai-kubra:3240Muḥammad b. Salamah > Ibn al-Qāsim > Mālik > Abū al-Zinād > al-Aʿraj > Abū Hurayrah

The Prophet ﷺ as saying: Fast is a shield ; when one of you is fasting, he should neither behave in an obscene manner nor foolishly. If a man fights or abuses him, he should say: I am fasting, I am fasting. (Using translation from Abū Dāʾūd 2363)  

الكبرى للنسائي:٣٢٤٠أَخْبَرَنَا مُحَمَّدُ بْنُ سَلَمَةَ قَالَ أَخْبَرَنَا ابْنُ الْقَاسِمِ عَنْ مَالِكٍ عَنْ أَبِي الزِّنَادِ عَنِ الْأَعْرَجِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ «الصِّيَامُ جُنَّةٌ فَإِذَا كَانَ أَحَدُكُمْ صَائِمًا فَلَا يَرْفُثْ وَلَا يَجْهَلْ فَإِنِ امْرُؤٌ قَاتَلَهُ أَوْ شَاتَمَهُ فَلْيَقُلْ إِنِّي صَائِمٌ إِنِّي صَائِمٌ» وَقَفَهُ أَبُو حَصِينٍ