What is the ruling in accordance to the Islamic law regarding the following supplication: The supplicant begins by praising Allah, The Almighty, with the greatest revelation sent to His Messenger (peace and blessings be upon him), which is Surah Al-Fatiha. Then, they invoke blessings upon the Messenger of Allah (peace and blessings be upon him), seek forgiveness for their sins, and ask for goodness in this world and the Hereafter for themselves, their parents, their family, and their relatives.
After that, they proceed to send peace and blessings upon the pure souls, including the Messenger of Allah (peace and blessings be upon him), the prophets and messengers by name (Peace and Blessings of Allah be upon all of them) , the Rightly Guided Caliphs, the Prophet's family, descendants, companions, and wives, mentioning by name those they recall. Then, they extend their supplication to include the Tabi‘un (followers of the companions), the righteous of the Ummah, and its scholars, mentioning by name those they remember.
Following this, they recite the general supplication from the Quran, it states (What means): "Our Lord, forgive us and our brethren who preceded us in faith, and do not place in our hearts any resentment toward those who have believed. Our Lord, indeed You are Kind and Merciful." [Al-Hashr/10].
Then, they pray for the believers who strive for Islam and the support of Allah’s religion, specifically mentioning those with whom they share a bond of love. Lastly, they extend their supplication to the entire Ummah of the Prophet (PBUH), asking Allah for His mercy, forgiveness, and the goodness of this world and the Hereafter, and they include all of humanity in their prayer, asking Allah to guide them from the darkness of oppression and misguidance to the light of guidance and justice.