Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:13331a
Request/Fix translation

  

السيوطي:١٣٣٣١a

"جَعَلْتَ للَّه نِدًا؛ بَلْ مَا شَاءَ اللَّه وَحْدَهُ".  

[طب] الطبرانى في الكبير والشيرازى في الأَلقاب عن ابن عباس قال: قال رجل للنبى ﷺ: ما شاء (اللَّه) وشئت قال: فذكره

See similar narrations below:

Collected by Ṭabarānī, Suyūṭī
tabarani:13005ʿAlī b. ʿAbd al-ʿAzīz > Abū Nuʿaym > Sufyān > al-Ajlaḥ > Yazīd b. al-Aṣam > Ibn ʿAbbās > a man Lilnnabī ﷺ Mā Shāʾ Allāh And Shiʾt

[Machine] "A man said to the Prophet, may ﷺ : 'Whatever Allah wills and you will.' The Prophet replied, 'You have made Allah alongside anotherentity, rather say: 'Whatever Allah wills alone.'"  

الطبراني:١٣٠٠٥حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ ثنا أَبُو نُعَيْمٍ ثنا سُفْيَانُ عَنِ الْأَجْلَحِ عَنْ يَزِيدَ بْنِ الْأَصَمِّ عَنِ ابْنِ عَبَّاسٍ قَالَ قَالَ

رَجُلٌ لِلنَّبِيِّ ﷺ مَا شَاءَ اللهُ وَشِئْتَ قَالَ «جَعَلْتَ لِلَّهِ نِدًّا بَلْ مَا شَاءَ اللهُ وَحْدَهُ»