The Law of Attraction from The Secret is actually a variation of Islam's position on optimism and faith. Below is a link to a video featuring various muslim speakers about the Law of Attraction, or more accurately The Law of Optimism. We should always try to watch our thoughts and words with regards to our circumstances, especially when things are tough. And we should always have gratitude with a sense of optimism.