It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Perform Hajj and Umrah one after the other, for these two remove sins just as the furnace removes the impurities of iron."
Imam al-Nasa'i (may Allah have mercy on him) narrated it like this in his book, and in it are also the words "poverty and sins".
Related hadith on this topic