Cats in general will leave hedgehogs alone, especially if they encounter their prickles once or twice. Dogs, on the other hand, pose more of a threat to roaming hedgies and should be prevented from coming in close contact with hedgehogs if possible. This is particularly true if you have a larger dog that has hunted small animals in the past.