Answer
In the latter stages of his scholarly career, Muhammad al-Bukhari, the preeminent compiler of hadith, faced exile from Nishapur. This expulsion, attributed to differences with local religious authorities, prompted his departure to Khartank, where he spent the remaining years of his life, until his passing in 870 CE.