This story is by Mikhail Bulgakov who wrote The Master and Margarita, a considerably longer book than this one.
Mikhail Bulgakov’s work was read and publicly criticised by Josef Stalin and yet Bulgakov was never arrested and sent to a concentration camp. If rumour is to be believed Stalin arranged for Bulgakov to get a job as an assistant director at the Maly Theatre. Another rumour is that Stalin banned a play called Batum by Bulgakov because the playwright had portrayed Stalin as too gentle and kind.
The Heart of a Dog shows glimpses of pre-Revolutionary Russia as well as the Soviet Union of the 1920s which is lead by ignorant people and those willing to toe the party line. The nostalgia for the former is palpable.
The story is that a Muscovite professor befriends a stray dog in the street and takes him home for nefarious reasons. The professor / doctor performs a long operation transplanting into the dog a pair of male testicles and pituitary gland from a recently deceased man.
The resulting human / animal hybrid turns the professor’s life into chaos. Items are stolen, cats are chased, and floods occur. What can the professor, his loyal assistant, and down-to-earth servants do to quell the activities of this creature?