FactorInteger[5, GaussianIntegers -> True]

PrimeQ[5, GaussianIntegers -> True]

Divisors[5, GaussianIntegers -> True]