A Muslim man saw in a dream that he met a man from the People of the Book, who said to him, "What an excellent people you would be, were it not that you commit shirk. You say, 'Whatever Allah wills and Muhammad wills.'"This was mentioned to the Prophet ﷺ, and he said, "By Allah, I had recognized this concern for you. Say instead, 'Whatever Allah wills, then Muhammad wills.'"
إن رجلا من المسلمين رأى في النوم أنه لقي رجلا من أهل الكتاب فقال: نعم القوم أنتم لولا أنكم تشركون، تقولون: ما شاء الله وشاء محمد. وذكر ذلك للنبي ﷺ فقال: أما والله إن كنت لأعرفها لكم. قولوا: ما شاء الله، ثم شاء محمد.
Ibn Majah (2118, the duplicate) narrated it from Muhammad bin Abdul-Malik bin Abu Shawarib, who said, Abu Awana narrated to us, from Abdul-Malik, from Rabi bin Harash, from Fudayl bin Sakhbara, and he related it. Its chain is sahih. Abdul-Malik bin Umayr is trustworthy, though his memory declined in later life, and there was disagreement over his narration. Abu Awana narrated it from him in this manner, and Hammad bin Salama followed him in that, narrating it from Abdul-Malik bin Umayr with the same chain.Imam Ahmad (20694) narrated it from Bahz and Affan, who both said, Hammad bin Salama narrated to us, with his chain, and this is his wording, from Fudayl bin Mushkira, the maternal half-brother of Ayesha, that he saw in a dream as if he passed by a group of Jews. He said, "Who are you?" They said, "We are the Jews." He said, "You would indeed be a fine people, were it not that you claim Uzayr is the son of Allah." The Jews replied, "And you would be a fine people, were it not that you say, 'What Allah wills and what Muhammad wills.'" Then he passed by a group of Christians and said, "Who are you?" They said, "We are the Christians." He said, "You would indeed be a fine people, were it not that you say the Messiah is the son of Allah." They said, "And you would be a fine people, were it not that you say, 'What Allah wills and what Muhammad wills.'"When morning came, he told this to whoever he told, then he came to the Prophet ﷺ and informed him. The Prophet said, "Have you told anyone about it?" Affan said, he replied, "Yes." So when they prayed, the Prophet addressed them, praising Allah and extolling Him, then said, "Tufayl saw a dream and told it to whoever among you he told, and you used to say a word that shame prevented me from forbidding you from, but now, do not say, 'What Allah wills and what Muhammad wills.'"Darimi narrated it in his Sunan (2741) from Yazid bin Harun, from Shuba, from Abdul-Malik bin Umayr, with his chain, in a shortened form. Bukhari mentioned it in Tarikh al-Kabir (4/363) in the biographical entry of Tufayl, brother of Ayesha, saying, "Ali bin Nasr said, he is Tufayl bin Sakhbara bin Jurthuma bin Uthman, and their mother was Umm Ruman, from Kinana." Then he mentioned the hadith by way of Shuba, with his chain, shortened, and he judged it preferable over the narration of Sufyan, from Abdul-Malik, from Rabi, from Huzaifa.I say, all of them were contradicted by Sufyan bin Uyayna, who narrated it from Abdul-Malik, from Rabi, from Huzaifa, who said, a man came to the Prophet ﷺ and said, "I saw in a dream that I met some of the People of the Book, and one of them said, 'What a fine people you would be, were it not that you say, "What Allah wills and Muhammad wills."'" The Prophet ﷺ said, "I used to dislike that from you, so say instead, 'What Allah wills, then what Muhammad wills.'"Ahmad (23339) and Ibn Majah (2118) narrated it by way of Sufyan bin Uyayna, with his chain, in similar wording.Likewise, Mamar contradicted them, narrating it from Abdul-Malik bin Umayr, from Jabir bin Samura, who said, a man among the companions of the Prophet ﷺ saw in a dream that he met a group of Jews, and their appearance pleased him, so he said, "You would indeed be a people, were it not that you say Uzayr is the son of Allah." They said, "And you would be a people, were it not that you say, 'What Allah wills and Muhammad wills.'" He said, and he met a group of Christians, and their appearance pleased him, so he said, "You would indeed be a people, were it not that you say the Messiah is the son of Allah." They said, "And you would be a people, were it not that you say, 'What Allah wills and Muhammad wills.'"When morning came, he related that to the Prophet ﷺ, and the Prophet ﷺ said, "I used to hear that from you, and it troubled me. So do not say, 'What Allah wills and Muhammad wills.'"What becomes clear from studying the various chains of this hadith is that the one who saw the dream was Tufayl, the brother of Ayesha, Mother of the Believers, and that Huzaifa and Jabir bin Samura heard it from him, but the narrators did not preserve his name because his narrations were few, so they left him unnamed. It is a mistake to attribute this hadith to the musnad of Huzaifa or of Jabir bin Samura. And Allah, the Exalted, knows best.