Reference for Rosh Hashanah 4:9
לא סלקא דעתך דכתיב (במדבר לג, לח) ויעל אהרן הכהן אל הר ההר על פי ה' וימת שם בשנת הארבעים לצאת בני ישראל מארץ מצרים בחדש החמישי באחד לחדש וכתיב (דברים א, ג) ויהי בארבעים שנה בעשתי עשר חדש באחד לחדש דבר משה וגו' מדקאי באב וקרי לה שנת ארבעים וקאי בשבט וקרי לה שנת ארבעים מכלל דר"ה לאו תשרי הוא
Perhaps we reckon them from Tishri?<span class="x" onmousemove="('comment',' Which is the beginning of years reckoned from the creation.');"><sup>9</sup></span> - Do not imagine such a thing. For it is written, And Aaron the priest went up into Mount Hor at the commandment of the Lord, and died there, in the fortieth year after the children of Israel were come out of the land of Egypt, in the fifth month,<span class="x" onmousemove="('comment',' Ab.');"><sup>10</sup></span>