The narrator said, the Messenger of Allah ﷺ was sitting among his companions when he went inside, then came out having bathed. We said, "Messenger of Allah, has something happened?"He replied, "Yes. So-and-so passed by me, and desire for women stirred in my heart, so I went to one of my wives and was intimate with her. Do likewise, for among the most virtuous of your deeds is intimacy with what is lawful."
قال: كان رسول الله ﷺ جالسا في أصحابه، فدخل، ثم خرج وقد اغتسل. فقلنا: يا رسول الله قد كان شيء؟ قال: أجل، قد مرت بي فلانة، فوقع في قلبي شهوة النساء، فأتيت بعض أزواجي فأصبتها، فكذلك فافعلوا، فإنه من أماثل أعمالكم إتيان الحلال.
Imam Ahmad narrated it (18028), and Tabarani in Kabir (22/338-339) and in Awsat (3275), all of them through Muawiya bin Salih, from Azhar bin Saeed Harazi, who said, I heard Abu Kabsha, and he mentioned it. Its chain is hasan because of Azhar bin Saeed Harazi, for he is hasan al-hadith. His statement, "Among the best of your deeds is engaging in what is lawful," carries the same meaning as "and in the private part of each of you there is a charity."On this subject there is also what has been narrated from Abdullah bin Masud, who said, the Messenger of Allah ﷺ saw a woman and was pleased by her, so he went to Sawda while she was making perfume, with some women around her, and they left the two of them alone, and he fulfilled his need, then he said, "Whatever man sees a woman who pleases him should go to his wife, for she has the same as she has." The correct view is that this is mawquf.Darimi narrated it (2261) from Qabisa, who said, Sufyan informed us, from Abu Ishaq, from Abdullah bin Hallam, from Abdullah bin Masud, and he mentioned it. Bukhari said in Tarikh al-Kabir (69/5), "Israil narrated it from Abu Ishaq, from Abdullah, without raising it to the Prophet, and likewise Abu Naeem and Ibn Mahdi narrated it from Sufyan, from Abu Ishaq."So Qabisa alone raised it to the Prophet, while others left it as mawquf, and Abu Hatim (394/1) and Daraqutni in Ilal (197/5) also held it to be mawquf. In it there is Abdullah bin Hallam, whom no one but Ibn Hibban regarded as reliable.