عن معن بن يزيد رضي الله عنهما قال كان أبي يزيد أخرج دنانير يتصدق بها فوضعها عند رجل في المسجد فجئت فأخذتها فأتيته بها فقال والله ما إياك أردت فخاصمته إلى رسول الله صلى الله عليه و سلم فقال لك ما نويت يا يزيد ولك ما أخذت يا معن رواه البخاري (الترغيب و الترهيب 1/68)
Hadhrat Ma’n bin Yazeed (Radiyallahu Anhu) reports: On one occasion my father Yazeed took out some Dinaars to give in charity. He proceeded to the Musjid and placed the Dinaars by a person in the Musjid. I went to the person and the person gave the dinaars to me. I then came to my father with the dinaars. (When my father learnt of what had transpired, he was displeased and took an oath) saying: “I did not intend giving the money to you.” I then took the matter to Rasulullah (Sallallahu Alaihi Wasallam). Upon hearing the entire story, Rasulullah (Sallallahu Alaihi Wasallam) said: “O Yazeed, you will receive the full reward for your sadaqah based on your intention, and O Ma’n, the dinaars are now yours (as it came to you through a halaal means).”