Karim was born on 20 October 1919 and in the village of Klyashevo (now in Chishminsky District, Bashkortostan) in an ethnic Bashkir peasant family. In 1941, he graduated from Bashkir State University, Faculty of Language and Literature. After graduation, he joined the Red Army and was sent to Novocherkassk Higher Military Command School of Communications. In May 1942, with the rank of second lieutenant sent to the 17th Motor Rifle Brigade Chief of Communications artdiviziona. In August 1942, Karim spent about six months in hospitals recuperating from severe wounds. After recovery, he returned to the forefront as a correspondent for the front-line newspapers. He became a Member of the CPSU in 1944. Throughout The Great Patriotic War Karim was at the front, and he was a correspondent for the front-line newspapers For the honor of the motherland (Ватан намусы өчен), Soviet Soldier ( Board sugyshchysy) on Tatar.