The law of attraction is an idea suggesting that positive thoughts bring positive results into a person's life, while negative thoughts bring negative outcomes. It is based on the belief that thoughts are a form of energy and that positive energy attracts success in all areas of life, including health, finances, and relationships.
While the Law of Attraction has generated attention in recent years due to media coverage, it lacks scientific evidence for its claims and is generally viewed as a pseudoscience.
In general, Islam encourages positive thinking and having big hopes and trust in the mercy of Allah (SWT) and discouraged negative thinking. The Narration says: Be optimistic and hope for the good, you should get what you hoped for. تفاءلوا بالخير تجدوه.
Having optimistic hope usually opens gates of success and vice verse.
Law of attraction must link optimism with the origin and source of every good in this existence who is The One and Only Creator; Allah, The Most Merciful. No good can be gained but only from Allah.
Other narration says: Allah grants His believing servant whatever he thinks about Allah, if good then good and if bad then bad. إن الله عند ظن عبده المؤمن، إن خيرا فخير ، وإن شرّا فشرّ.
Muslims don't need to go to outsiders to seek success. They need to study and understand the great teachings of Islam which are in Quran and the statements of the Prophet (SAWA) and Ahlul Bayt (AS).