Khabbab b. al-Aratt said:
God's messenger led us in prayer and prolonged it, and when the people said, "Messenger of God, you have prayed a prayer such as you have not been accustomed to pray," he replied, "Yes, it was a prayer of hope and fear during which I asked God for three things, two of which He granted me but one of which He refused me. I asked Him not to destroy my people by famine and He granted me that, I asked Him not to let an enemy from another people rule over them and He granted me that, and I asked Him not to let them experience one another's violence but He refused me that."
Tirmidhi and Nasa'i transmitted it.