It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that he said: "Prices rose in the blessed time of the Messenger of Allah (peace and blessings be upon him), and the people said: 'O Messenger of Allah (peace and blessings be upon him)! If only you would fix prices!' At this he (peace and blessings be upon him) said: 'Indeed, Allah alone is the Creator; He is the One who restricts (provision), the One who expands it, the Provider and the One who sets prices. And I hope to meet Allah, the Mighty and Majestic, in such a state that no one demands from me (redress for) any wrong I did to him regarding blood or property.'"
Imam Ahmad (may Allah have mercy on him) also narrated it from Affan (may Allah have mercy on him), from Hammad bin Salamah (may Allah have mercy on him), from Qatadah (may Allah have mercy on him), Thabit (may Allah have mercy on him) and Humayd (may Allah have mercy on him), from Sayyiduna Anas (may Allah be pleased with him).
Related hadith on this topic