It is narrated from Abdullah Hasani:

God will eliminate irreligious and materialist beliefs in the earth on the occasion of Mahdi (pbuh) and fill the earth with justice and fairness.

(Kamal al-Deen, p. 377, chapter 36, hadith 2)