This is not an original joke.
Even in the middle of winter Josh would not shut the door when he left the room. One day his father in exasperation, but not wanting to cause a row, mildly asked. ‘Son, shut the door. Who was born in a stable?’ Quick as a flash Josh replied, Jesus!’