The Canon of Medicine
In "The Canon of Medicine" (1020), Avicenna suggested that tuberculosis and other diseases might be contagious.