A mother has provoked anger after she was seen taking her baby son to a rave. 