Sahih Bukhari#278
It is a totally fabricated narration, and it is unfortunate that the compilers of narrations included this type of content and ascribed it to Prophet Muhammad PBUH, which is a heinous crime. It is a gross blasphemy not just against Prophet Moses PBUH but also against Prophet Muhammad PBUH for ascribing this falsehood to him, and insults the entire Muslim community by making the jest against the honorable Prophets of Islam. Please note that there are various such senseless narrations ascribed to the authority of Abu Hurairah. If he did not concoct them himself, hopefully, then it is clear that someone just used his name for creating and spreading this gibberish. For example, see this narration where words are falsely ascribed to Prophet PBUH on the authority of Abu Huraira, and later on he negated and backtracked when someone asked him for confirmation: BUKHARI HADITH: Volume 7, Book 64, Number 268: Narrated Abu Huraira: “The Prophet said, ‘The best alms is that which is given when one is rich, and a giving hand is better than a taking one, and you should start first to support your dependents.’ A wife says, ‘You should either provide me with food or divorce me.’ A slave says, ‘Give me food and enjoy my service.” A son says, “Give me food; to whom do you leave me?” The people said, “O Abu Huraira! Did you hear that from Allah’s Apostle ?” He said, “No, it is from my own self.”