It is permissible to sell
sheep and other animals according to their weight while they are still alive whether the price is determined through the number of kilograms or other units of weighing. This is because the reason behind it is determining the value of the sold object which can be achieved through weighing.
May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.