He reported God’s Messenger as saying, "I swear by God that it is more sinful in God’s sight for one of you to persist in his oath regarding his family than to give for it the atonement God has imposed.”
Abu Huraira reported God’s Messenger as saying, "If anyone swears an oath and considers something else to be better than it he should make atonement for his oath and do that.”
Narrated ‘Abd ar-Rahman b. Samura reported God’s Messenger as saying,
"Do not ask for rule ship, ‘Abd ar-Rahman b. Samura, for if you are given it as a result of asking you will be left to deal with it yourself, but if you are given it without asking you will be helped in undertaking it. And when you swear a:
A version has, "Do the thing that is better and make atonement for your oath.’* Bukhari, al-Aiman wan-nudhur, I and Muslim, Aiman, 19 give the first form in full. I have not found the other version.