Which surah mentions the three places of revelation

The Surah Al-An'am (The Cattle), Chapter 6, mentions the three places of revelation - Makkah, Madinah, and Ta'if. In the beginning of the chapter, it mentions that some of the verses were revealed in Makkah, while others were revealed after the Prophet's migration to Madinah. And in verse 127, it mentions the Prophet's visit to Ta'if and the revelation of some verses during his journey back to Madinah.

Maun