[Machine] When the Messenger of Allah ﷺ arrived in Medina, they were people who cheated others in terms of measures. So Allah, the Blessed and Exalted, revealed, "Woe to those who give less [than due] measure" [Quran 99:1]. After that, they started to be honest in their measurements.
لَمَّا قَدِمَ رَسُولُ اللَّهِ ﷺ الْمَدِينَةَ كَانُوا مِنْ أَبْخَسِ النَّاسِ كَيْلًا فَأَنْزَلَ اللَّهُ تَبَارَكَ وَتَعَالَى {وَيْلٌ لِلْمُطَفِّفِينَ} [المطففين 1] فَأَحْسَنُوا الْكَيْلَ بَعْدَ ذَلِكَ