Abu al-Juwayriyah al-Jarmi said: I heard Ma'n bin Yazid (may Allah be pleased with him) say: I took a dispute to the Messenger of Allah (peace and blessings be upon him); he (peace and blessings be upon him) proposed marriage on my behalf and married me off, and I and my grandfather pledged allegiance to him (peace and blessings be upon him). The narrator said: I said to him: "What was your dispute?" He said: A man used to frequent the mosque and give charity to people he knew. One night he came with a purse, and he assumed that I was one of the people he knew. When morning came it became clear to him, and he came to me and said: "Return it to me." I refused, and then we brought our dispute to the Messenger of Allah (peace and blessings be upon him), and he (peace and blessings be upon him) declared the charity lawful for me and said: "You have what you intended."
The Shaykh said: From this it is apparent that the one giving the charity was a stranger.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قسم الصدقات / 13254