Abu Dharr reported,

The Prophet ﷺ said, "In the intimate relations of one of you there is charity."They asked, "Messenger of Allah, one of us fulfills his desire and receives a reward for it?"He replied, "Tell me, if he were to place it in what is forbidden, would he not bear a sin? Likewise, when he places it in what is lawful, he earns a reward."

Azami 6306

Sahih

عن أبي ذر

عن النبي ﷺ قال: في بضع أحدكم صدقة قالوا: يا رسول الله! أيأتي أحدنا شهوته، ويكون له فيه أجر. فقال: أرأيتم لو وضعها في الحرام أكان عليه وزر. فكذلك إذا وضعها في الحلال، كان له أجر.

الأعظمي 6306صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Marriage
Chapter
Rights and duties of the Muslim woman, and good treatment of her
Section
Verily Allah made intimacy with one's wife a charity
Numbering
Jami al-Kamil 6306 (2nd edition)
Azami 6306