Sahih al-Bukhari 6623
Abu Nu'man narrated to us that Hammad bin Zaid told us. He narrated from Ghailan bin Jarir, Ghailan from Abu Burdah, Abu Burdah from his father. He said: I came to the Prophet (saw) with a group of the Ash'aris to ask him (saw) for mounts. He (saw) said: “By Allah, I shall not give you mounts, and I have no mount on which to mount you.” He used to say: We stayed as long as Allah willed that we should stay. After that three camels with fine white humps were brought to him (saw), and he (saw) mounted us on them. When we set off, we said, or one of us said: “By Allah, we shall never be blessed. We came to the Prophet (saw) to ask him (saw) for mounts, and he (saw) swore that he (saw) would not give us mounts, and then he (saw) gave us mounts. Come, let us go back to the Prophet (saw) and remind him (saw).” So we came to him (saw), and he (saw) said: “It is not I who gave you mounts; rather, Allah gave you mounts. And by Allah, if Allah wills, whenever I swear an oath and then consider something else better than it, I shall certainly pay the expiation for my oath and do that which is better,” or (he said:) “I shall do that which is better and give the expiation for my oath.”
AI-translated by Islam-Today