let us first translate the istifta and fatwa. what do ulama of the religion say concerning [the following anecdote]: junayd is a respected elder and accomplished [scholar/sufi; buzurg e kamil]. he was on a journey and on the way he came across a river. he was crossing it when a man said: "please help me cross the river". the venerable sage said: "keep saying 'ya junayd, ya junayd and follow me; and i will say 'Allah, Allah' and walk across." when they reached the middle of the river, the man began to say: "Allah, Allah" and the man began to drown. at this moment the sage said: "don't say Allah, Allah. [instead] say: ya junayd ya junayd" the man said 'ya junayd, ya junayd' and he did not drown. is this correct or not? [if true,] what is the [sharayi] ruling upon the accomplished sage and what is the ruling upon the man? please explain and obtain reward [from Allah]. --- answer: it is incorrect to say that they came across a river in the course of his journey. the anecdote IS actually about his crossing the river Tigris. another addendum [in the original anecdote] is: "i will say Allah Allah and walk across..." and the statement: "he said: don't say Allah, Allah" is a fabrication, an utter lie [iftiraa] who can prohibit saying 'ya junayd' especially in his worldly life [hayat e dunyawi], and more so when he is physically present in front of him? so what is the point of asking the ruling about the man? -- and as far as asking the ruling about sayyidu't ta'ifah [the leader of the group of sufis] junayd baghdadi raDi'Allahu anhu is utterly disrespectful, insulting and mindless drivel. Allah ta'ala knows best.
It took me a while to understand it(I have trouble reading nastliq) but compared to the actual scan from the Malfuz provided by @abu Hasan , the story you quoted seems to have interpolations.
read the excerpt from al-malfuz and then from al-fatawa al-ridawiyah. even if this was incorrectly present in al-malfuz, you cannot throw away the whole book. one or two mistakes do not invalidate everything (unlike statements of kufr and blasphemy, where even one statement renders a person kafir. al-iyadhu billah). BUT the fact is that there is no contradiction in al-malfuz and fatawa. people should learn to read. because there is no contradiction. malfuz sharif 1/105 (old ed) Fatawa Ridawiyyah 26/436
Ala Hazrat says regarding the story 'I will cross saying Ya Allah is an addition' and the 'ya junaid' part is a complete fabrication. It is fully explained in this video here Too bad many famous speakers have used the story in their speeches without verifying if it is true or not.
https://sunniport.com/index.php?threads/ya-junayd-the-tale-of-junayd-and-a-disciple.1106/#post-167 ^So this story is not the correct one?
Respected Imām! In which Kitāb is it recorded that once the Cardinal Pole of noble Saints (Qutb), Shaykh Junaid al-Baghdad said, “Ya Allāh ” and walked over the river? I cannot remember the entire story. Could you please enlighten me? ANSWER: This incident is probably recorded in the famous Kitāb, adiqat al-Nadiyyah by ‘Arife-Billh Imām ‘Abd al-Ghan Nab’ls (d.1143/1731). Once, Shaykh Junaid Baghdad came to the shores of river Tigris and began the of “Ya Allāh”. He then walked over the water as if he was on solid ground and crossed the river. Before he crossed, a man was also waiting for transport to go across. When the man saw the Shaykh crossing, he said, “Oh Shaykh! I would also like to go across.” The Shaykh said, “Repeat Ya Junaid! Ya Junaid! And follow me.” The man did that and began walking on the water. As he reached the middle of the river, the Shaytān confused his mind by saying, “Who is greater, Allāh or the Shaykh? The Shaykh himself is saying ‘Ya Allāh! Ya Allāh! but orders you to say ‘Ya Junaid, Ya Junaid’. This is Shirk. Abstain from this and imitate the Shaykh who says ‘Ya Allāh, Ya Allāh?’" The cursed Shaytān misled the man and he began to say “Ya Allāh”. As soon as he invoked the Name of Allāh , he began drowning and screamed for help. The noble Shaykh watched this and shouted to him, “Say ‘Ya Junaid, Ya Junaid, as I ordered you to do!” The man did so and was amazed to feel the water under his feet transformed as hard as the ground. He crossed over to safety. When he reached the banks, he inquired from the Shaykh, “O Shaykh! I cannot understand this puzzle. You said ‘Ya Allāh, Ya Allāh’ and crossed over safely. But when I invoked His Glorious Name, I began drowning?” The Noble Walī replied “O ignorant! You have not as yet understood Junaid and have dreams of understanding Allāh !” Subān-Allāh! Al malfuz volume 1 This raises questions to the validity of al Malfuz then. Suprising as to how so many years great ulama havent picked this out and corrected.