Ibn Ishaq
Early Islamic historians like Ibn Ishaq and Ibn Hisham always included Shem's name in the genealogy of Muhammad.