Buraida reported that when the Prophet entered the market he said, “In the name of God. O God, I ask Thee for the good of this market and the good of what it contains, and I seek refuge in Thee from its evil and the evil of what it contains. O God, I seek refuge in Thee lest I get a bad bargain in it.”
Baihaqi transmitted it in [Kitab] ad-Da‘ awat al-kabir.