The full name of the book, Biḥār al-ʾAnwār al-Jāmiʿah li-Durar ʾAkhbār al-ʾAʾimmah al-Aṭhār (Arabic: بِحَار ٱلْأَنْوَار ٱلْجَامِعَة لِدُرَر أَخْبَار ٱلَأَئِمَّة ٱلْأَطْهَار) (lit. Seas of Lights: The Collection for Pearls of Traditions of the Pure Imams) illustrates that Majlisi did not collect anything he had access to in the book.[1][2]
Majlisi compiled it to gather all the ahadith he could access. His primary goal was to preserve the available knowledge for future generations.[5] Majlisi has acknowledged this issue in the preface of Bihar al-Anwar, emphasizing that the traditions collected were not included without being subjected to scrutiny, a task in itself that was a major undertaking. Majlisi says, "Then I chose to examine the traditions of the infallible, righteous Imams, started exploring them and investigated them as was their right and I acquired its skill as was its due." Despite Majlisi acknowledgment, criticism has remained about his approach with some critics suggesting that he has gathered both "pearls" and "pebbles".This book includes all the narrations that receive to Shia. Writing Bihar lasted about 36 years. To write this book, Majlisi got help from other scholars and his students.
Majlisī, Muḥammad Bāqir al-, Biḥār al-nwār al-Jāmiʿahli-Durar Akhbār al-Aʾimmat al-Aṭhār [The Oceans of Lights: A Compendium of the Pearls of the Narrations of the Pure Imāms], 110 vols (Beirut: Muʾassasat al-Wafāʾ, 1983).