Sa’eed ibn al-Musayib said:
Don’t call your Muslim companion with the name: donkey, dog or pig.
Because it will be said to you on the Day of Judgment (by Allaah): Do you believe I created a dog, a donkey or a pig?!
Source: Musannaf ibn Abi Shaybah (v. 8, p. 536)