Abdullah bin Amir (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) came to our house while I was a small child, and I went off to play. My mother said: O Abdullah! Come, I will give you something. The Prophet (peace and blessings be upon him) asked: "What did you intend to give him?" She said: I intended to give him a date. He (peace and blessings be upon him) said: "If you had not done so, this too would have been written as a lie (against you)."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 20839