Allama Muhammad Iqbal was a famous Pakistani philosopher, poet and politician. He wrote extensively about reviving Islam and encouraging ideals of brotherhood, justice and service. His works explored concepts like the ego/self and its relationship with God, individuality, freedom, and achieving perfection. Iqbal emphasized strengthening the ego through love and questioning, and viewed the self as a unity between subject and object that can attain timelessness and divine vicegerency through self-realization. His book Asrar-e-Khudi extensively outlines his philosophy of khudi/ego and how it can progress through different stages including obedience, self-control, and representing God on Earth.