If you sample something from a commercial record and just use your song for fun (to send to friends, etc.) then it is not illegal. However, if you'll want to release your music commercially on a CD or on iTunes etc. you need a permission for every single sample you have recorded from respective copyright owners.
For the sake of your safety, stick to copyright-clean sample libraries. There are tons of them available for any music style. Have a look at the Planets as well:
http://www.sinevibes.com/planet/