The Prophet ﷺ said, "A heap of food is not to be sold for another heap of food, nor is a heap of food to be sold for a specified measure of food."
أخبرنا إبراهيم بن الحسن قال حدثنا حجاج قال ابن جريج أخبرني أبو الزبير أنه سمع
قال النبي ﷺ لا تباع الصبرة من الطعام بالصبرة من الطعام ولا الصبرة من الطعام بالكيل المسمى من الطعام
No references are available.
[Sahih] See the previous hadith. It is also in Kubra, no. 6139.