Al-Kāfi

Hadith 853
vow
8- مُحَمَّدُ بْنُ يَحْيَى عَنْ أَحْمَدَ بْنِ مُحَمَّدٍ عَنِ ابْنِ مَحْبُوبٍ عَنْ خَالِدِ بْنِ جَرِيرٍ عَنْ أَبِي الرَّبِيعِ قَالَ سُئِلَ أَبُو عَبْدِ اللهِ (عَلَيْهِ السَّلام) عَنِ الرَّجُلِ يَقُولُ لِلشَّيْ‏ءِ يَبِيعُهُ أَنَا أُهْدِيهِ إِلَى بَيْتِ اللهِ الْحَرَامِ قَالَ فَقَالَ لَيْسَ بِشَيْ‏ءٍ كَذِبَةٌ كَذَبَهَا.
8. Muhammad ibn Yahya has narrated from Ahmad ibn Muhammad from ibn Mahbub from Khalid ibn Hariz from abu al-Rabi’ who has narrated the following: “I once asked abu ‘Abd Allah, Alayhi al-Salam, about the case of a man who buys something and says, ‘I gift it to the Sacred House of Allah.’ He (the Imam) said, ‘It does not have any valid effect. It is a lie that he has spoken.’”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī