Such a method originates from the story of Sakyamuni's enlightenment and discovery of the true Way while sitting under the Bodhi Tree. With Chan, the Way is attained in seven days without having to leave one's seat.
禪七一法，源於佛陀在菩提樹下，自誓若不成道，不離金剛寶座，終於七日證道。