The ruling on selling live animals by weight
As for an animal whose sale is lawful, such as a camel, cow, goat, etc., we know of no prohibition on selling it by weight, whether alive or slaughtered, because it falls under the general ruling of this verse:
«وَأَحَلَّ اللَّهُ الْبَيْعَ وَحَرَّمَ الرِّبَا»
(may Allah have mercy on him) (5-Al-Ma’idah: 96)
“Whereas Allah has made trade lawful and made usury forbidden.”
It is also supported by the saying of the Prophet ﷺ, when he ﷺ was asked: Which earning is the purest? He ﷺ said: “A man’s work with his own hand, and every mabrur (accepted, blessed) sale.”
There is also no harm in it because it involves no jahalah (uncertainty) and no deception. And Allah knows best.