Al-Kāfi

Hadith 1007
worship
3ـ وَبِإِسْنَادِهِ عَنْ حَمَّادٍ عَنْ حَرِيزٍ عَنْ زُرَارَةَ قَالَ قَالَ أَبُو جَعْفَرٍ (عَلَيْهِ الْسَّلام) فَرَضَ الله الصَّلاَةَ وَسَنَّ رَسُولُ الله (صلّى اللهُ عَلَيْهِ وَآلِه) عَشَرَةَ أَوْجُهٍ صَلاَةَ الْحَضَرِ وَالسَّفَرِ وَصَلاَةَ الْخَوْفِ عَلَى ثَلاَثَةِ أَوْجُهٍ وَصَلاَةَ كُسُوفِ الشَّمْسِ وَالْقَمَرِ وَصَلاَةَ الْعِيدَيْنِ وَصَلاَةَ الاسْتِسْقَاءِ وَالصَّلاَةَ عَلَى الْمَيِّتِ.
3. Through the chain of his narrators Hammad has narrated from Hariz from Zurarah who has said the following: “‘Abu Ja‘far (a.s.), has said, ‘Allah has made Salah (prayer) obligatory. The Messenger of Allah has established ten kinds of traditions in Salah (prayer): Salah (prayer) at home and during a journey. Salah (prayer) due to fear is of three kinds. There is Salah (prayer) because of sun eclipse and moon eclipse. There is Salah (prayer) of the two ‘Id. There is Salah (prayer) for rain and (lastly) Salah (prayer) for a deceased.’”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī