William Martin Stahl, M.D., a surgeon and professor of medicine who was considered a master teacher by his peers and legions of students and residents whom he trained, died at home in Larchmont, N.Y., on Dec. 22, at the age of 90. His family described his death as natural and peaceful.