It was narrated that ‘Ali (رضي الله عنه) said:
Three people came to the Messenger of Allah (ﷺ) and one of them said: I had one hundred Ooqiyyahs and I spent one Ooqiyyah (in charity). The next one said: I had one hundred dinars and i spent ten dinars (in charity). The next one said: I had ten dinars and I spent one dinar (in charity). The Prophet (ﷺ) said: “You are equal in reward, for each of you gave one tenth of his wealth in charity.”