Context Is Needed
The answer depends on which Rick you mean. Rick Sanchez from Rick and Morty does not have an explicitly stated favorite animal, though he shows fondness for Snuffles the dog and Morty's pet rat. Rick Grimes from The Walking Dead appeared attached to his dog, Hershel, suggesting a soft spot for dogs.
Ask for Clarification
To provide an accurate answer, it is necessary to know which Rick is being referenced.