I was intrigued to read about this stunt performed by Buster Keaton in the 1928 silent movie 'Steamboat Bill Jr.'
According to the book 'Buster Keaton: Cut to the Chase' by Marion Meade:
As he stood in the studio street waiting for a building to crash on him, he noticed that some of the electricians and extras were praying. The window was just big enough to give two inches of clearance on either side. Keaton drove a nail in the ground to mark his position. When the moment came and the house front came down, he froze. The open window hit him exactly as planned. Afterwards, he would call the stunt one of his greatest thrills. He said later that he did not care whether he lived or died: "I was mad at the time, or I never would have done the thing."