Sayyid Ali Tirmizi (Pashto: سيد علي ترمذي), more commonly known as Pir Baba (پير بابا), was a Sufi who settled in Buner in present-day Khyber Pakhtunkhwa, Pakistan.
He was a Naqvi Syed, probably born in 908 AH (1502 CE), in Fergana (present-day Uzbekistan), of Sayyid descent, He died in AH 991 (1583 CE).
[1] He was a supporter of the Mughal emperor Akbar, and was an opponent of Bayazid Pir Roshan.
Baba's grave and shrine is in Pacha Killay village in the mountainous Buner District of present-day Khyber Pakhtunkhwa.
[2][3] In 2009, the shrine was closed down by Taliban militants[4] temporarily.