Municipal corporations shall have power to regulate or prohibit the sale of all horses or other domestic animals at auctions in the streets, alleys, or highways.