How man trapped in mud for 12 hours was rescued by passerby