In the view of Muhammad (may Allah have mercy on him), there is no harm in giving three divorces in one sitting.