He contacted several ulema and created a strong union of religious scholars to oppose Soviet propaganda and attempt to inform the general population on the problems of communism.
In 1958, while some of the other scholars were already carrying out anti-communist activities, Mohammad Nabi Mohammadi began preaching against communism to people who would listen, traveling far and wide to many of the provinces in Afghanistan.
After his brother Mullah Jan was captured (he was later killed by the Taraki Government), Muhamamd Nabi Muhammadi fled, moving to the city of Quetta in neighboring Pakistan.
There he gathered a large number of religious scholars to make qualified political and military activities against the Soviet occupation inside Afghanistan.
Newly arrived members of the ulema urged the principals to reunify, but Rabbani and Hekmatyar each refused to accept the other's party as the umbrella.
After various candidates were proposed and rejected for the position of amir, the assembled members of the ulama decided in early September 1978 on Muhammad Nabi Muhammadi as the leader of the new alliance.
After nearly four months, engineer Gulbuddin Hekmatyar and Burhanuddin Rabbani separated from Harakat-i-Inqilab-i-Islami and founded their own parties by the name of Hizb-e-islami and Jamiat-e-islami.
"[6] Through continuous struggle the Afghan Mujahideen succeeded in their mission, and the Russian forces withdrew from Afghanistan in 1989 after the loss of fifteen thousand of its soldiers.