From Wiki-How: How to Shut a Door Quietly in 6 Easy Steps (with pictures):
"Closing a door without a resounding slam is a tricky process, one that can take a lifetime to master. Some people are born with the innate ability to close a door quietly, while others can't seem to grasp the concept. This guide is for that latter type. It will take you through each step of closing a door quietly."