In India, a Prime Minister does not have a fixed number of terms that they can serve. The Constitution of India does not limit the number of terms for which a Prime Minister can be elected. Instead, the tenure is determined by the confidence of the Lok Sabha, the lower house of Parliament.
A Prime Minister can serve as long as they are able to maintain the majority support in the Lok Sabha. Each term lasts for five years, but they can be re-elected for subsequent terms as long as their party or coalition wins the majority in the elections. For instance, if a Prime Minister is elected for a full five-year term and then is re-elected, they can serve another five years, and this can continue indefinitely, as long as they continue to win elections.
This situation was seen with former Prime Ministers like Jawaharlal Nehru, Indira Gandhi, and more recently, Narendra Modi, who have served multiple terms based on electoral success.