حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ الدَّبَرِيُّ، عَنْ عَبْدِ الرَّزَّاقِ، عَنْ إِسْرَائِيلَ بْنِ يُونُسَ، عَنْ جَعْفَرِ بْنِ الزُّبَيْرِ، عَنِ الْقَاسِمِ، عَنْ أَبِي أُمَامَةَ، أَنَّ رَجُلًا سَأَلَ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، فَقَالَ: مَسِسْتُ ذَكَرِي وَأَنَا أُصَلِّي، فَقَالَ: «لَا بَأْسَ، إِنَّمَا هُوَ جِذْيَةٌ مِنْكَ»
It is narrated from Sayyiduna Abu Umamah (may Allah be pleased with him) that a man asked the Prophet (peace and blessings be upon him), saying: I touched my private part while I was praying. He (peace and blessings be upon him) said: "There is no harm; it is only a part of your own body."