Is it permissible to curse the companions?

Please specify do you mean belief that certain companions are cursed and cursing them privately or do you mean publicly cursing them in front of Sunni’s?