The law of attraction is the belief that by focusing on positive or negative thoughts people can bring positive or negative experiences into their Life. For an example a persons wants to buy a car, for that if he repeatedly thinks that the car will come to him, then in short limit of time, the car will arrive to him i.e., when we think something positively, that object gets attracted to Us. Wikipedia of Law Of Attraction says that Hindu verses contain this thought and even Swami Vivekananda travelled in the US explaining this new thought. Even in Hinduism it is said the whole universe is Brahman and our atman is identical to Brahman.
So where is this thought found in Hindu Scriptures? (Upanishads,Bhagavad Gita,Vedas). Is this related to Law of Karma or totally different?