The Prophet ﷺ said, "Whoever buys food must not sell it until he has taken possession of it."
حدثنا عبد الله قال وجدت في كتاب أبي حدثنا يزيد أخبرنا شعبة عن عبد الله بن دينار
عن النبي ﷺ قال من اشترى طعاما فلا يبيعه حتى يقبضه
Its isnad is sahih. It was narrated by the group [of hadith compilers] except Tirmidhi, as mentioned in Muntaqa 2820, and see what preceded at 4988. "Fala yabiuhu" is in the form of negation in H and M, while in K it is "fala yabiuhu" in the form of prohibition.