الثاني عشر من شعب الإيمان باب في الرجاء من الله تعالى
The Branch 12: Hope in Allah of Shu'ab al-Iman has 4 sections and 153 hadith (hadith 969–1121). Its first sections include: Branch 12 of faith: Hope in Allah the Exalted; Section: Just as fear should be of Allah alone, so hope should be in Him alone; Section: When one's hope is attached to Allah.
The twelfth branch of faith in Shu'ab al-Iman is hope in Allah. Al-Bayhaqi explains that just as fear should be of Allah alone, hope should also be placed in Him alone, and that the believer's fear and hope should be balanced. One section concerns the person whose hope is attached to Allah, and another covers the matters of supplication that one needs to know. The saying of Mutarrif that if the believer's fear and hope were weighed they would be equal, and a saying of Abd Allah ibn Mas'ud on major sins, also appear here.
4 sections in the Branch 12: Hope in Allah
Chapters on heart-softeners and asceticism in the other hadith collections.