Ja'far bin Muhammad narrates from his father that Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) granted Sayyiduna Ali (may Allah be pleased with him) an estate at Yanbu'. Then Sayyiduna Ali (may Allah be pleased with him) bought some other things adjoining the estate (granted by) Sayyiduna Umar (may Allah be pleased with him) and dug a spring in it. While they were working in it, water gushed out upon them like the neck of a camel. Someone came to Sayyiduna Ali (may Allah be pleased with him) and gave him the good news. Sayyiduna Ali (may Allah be pleased with him) said: "Give the good news to the heir." Then he gave it in charity to the poor, the needy, in the path of Allah, and to the traveller, whether near or far, in time of peace or in war, for the Day when some faces will turn white and some faces will turn black; so that Allah Almighty may turn my face away from the Fire and turn the Fire away from my face.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الوقف / 11897