It is narrated from Sayyiduna Abu Basrah al-Ghifari (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "I asked my Lord for four things; He gave me three and withheld one from me. I asked Him not to gather my Ummah upon misguidance, and He granted me that. I asked Him not to destroy them with famine as He destroyed the nations before them, and He granted me that too. I asked Him not to give an enemy from other than themselves dominance over them, and He granted me that too. And I asked Him not to divide them into factions and not to make some of them taste the violence of others, and He did not grant me that."
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 2158