It is narrated from Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said concerning a treasure that a man had found: "If you found it in an inhabited town or on a road where people come and go, then announce it (make it known); and if you found it in a ruin from the time of Ignorance (Jahiliyyah), or in an uninhabited town, or in a place where no road passes, then in it, and in every kind of ancient buried treasure (rikaz), a fifth (khums) must be paid."
All the narrators of the chain of this hadith are thiqat (trustworthy) and reliable.