The rapper was released on Monday morning after a four-day hospital stay.