The Prophet ﷺ said, "Whoever takes an oath and attaches an exception to it has a choice. If he wishes, he may carry out his oath, and if he wishes, he may go back on it without having broken it," or he said, "without incurring blame."
حدثنا أبو كامل، حدثنا حماد، عن أيوب، عن نافع، عن ابن عمر، أن النبي ﷺ قال: إذا حلف أحدكم فذكره.