Rahim was born at village Mohonpur of
Matlab Upazilla of
Chandpur on 1 March 1921. He started his primary education at a local school. 1936 he did matriculation (currently SSC) from Sengarchar High School and 1938 he passed IA (intermediate of Arts) from Dhaka Intermediate College. Afterwards he did BA in history with honors on 1941 and MA on 1942 from the
University of Dhaka. He served as a lecturer of history at
Malda College from 1943 to 1946 and from 1946 to 1949 he served at Jamalpur M.M College. On 11 January 1950 he was posted as temporary lecturer at
University of Dhaka. He left Dhaka University in 1954 to join the History Department of
Karachi University as a lecturer and was promoted to reader the following year. He was promoted to the rank of professor in 1966. After the war of independence returned to Bangladesh and in 1973 MA. Rahim joined the history department of Dhaka University as a professor. From 1976 to 1979 he was engaged as the chairman of the department. == Career ==