It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that when the Prophet (peace and blessings be upon him) conquered Makkah, Iblis let out a cry, and his troops gathered around him. He said: "After this day of yours, give up hope that the Ummah of Muhammad (peace and blessings be upon him) will turn back to polytheism; rather, put them to trial in the matter of their religion and spread wailing (over the dead) among them."
Related hadith on this topic