The bean pie is a creation born out of the strict dietary code of the Nation of Islam, a religious black nationalist and social reform movement formed in the 1930s, led by Elijah Muhammad. In his book, "How To Eat To Live," Muhammad outlined a rather detailed and sometimes peculiar set of guidelines for eating, designed to improve health and prolong life..
"This bean He (God) valued to be very high in protein, fats and starches, and it is a safe food for prolonging life. As you will find, most of the Muslims like their bean soup. These beans are dry beans. He said that He could take one of our babies and start him off eating the dry small navy bean soup, and make that child live 240 years. He described no other bean. This dry bean, or pulse, is of ancient origin. It was this bean, according to certain historians, that Daniel preferred for himself and his followers in the prison of Nebuchadnezzar. Do not add rice and meats to these beans because they contain proteins, fats and starches."