In the 1940s, Gandhi pooled ideas with some Muslim leaders who sought religious harmony like him, and opposed the proposed partition of British India into India and Pakistan. For example, his close friend Badshah Khan suggested that they should work towards opening Hindu temples for Muslim prayers, and Islamic mosques for Hindu prayers, to bring the two religious groups closer.[95] Gandhi accepted this and began having Muslim prayers read in Hindu temples to play his part, but was unable to get Hindu prayers read in mosques.