Sunan an Nasai 3773
The Book of Agriculture
أَخْبَرَنَا يُوسُفُ بْنُ عِيسَى، قَالَ حَدَّثَنَا الْفَضْلُ بْنُ مُوسَى، قَالَ حَدَّثَنَا مِسْعَرٌ، عَنْ مَعْبَدِ بْنِ خَالِدٍ، عَنْ عَبْدِ اللَّهِ بْنِ يَسَارٍ، عَنْ قُتَيْلَةَ، - امْرَأَةٌ مِنْ جُهَيْنَةَ - أَنَّ يَهُودِيًّا، أَتَى النَّبِيَّ صلى الله عليه وسلم فَقَالَ إِنَّكُمْ تُنَدِّدُونَ وَإِنَّكُمْ تُشْرِكُونَ تَقُولُونَ مَا شَاءَ اللَّهُ وَشِئْتَ وَتَقُولُونَ وَالْكَعْبَةِ . فَأَمَرَهُمُ النَّبِيُّ صلى الله عليه وسلم إِذَا أَرَادُوا أَنْ يَحْلِفُوا أَنْ يَقُولُوا " وَرَبِّ الْكَعْبَةِ " . وَيَقُولُونَ " مَا شَاءَ اللَّهُ ثُمَّ شِئْتَ " .
It was narrated from 'Abdullah bin Yasar, from Qutailah, a woman from Juhainah, that a Jew came to the Prophet and said:"You are setting up rivals (to Allah) and associating others (with Him). You say: 'Whatever Allah wills and you will,' and you say: 'By the Ka'bah.'" So the Prophet commanded them, if they wanted to swear an oath, to say: "By the Lord of the Ka'bah;" and to say: "Whatever Allah wills, then what you will
Grading: Abu Ghuddah: Sahih · Al-Albani: Sahih · Zubair Ali Zai: Isnaad Sahih
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.