For law, IE is a good choice if you’re into international / business‑oriented careers rather than classic local courtroom work. It’s well ranked, practice‑focused, and has a solid reputation in Spain and abroad.
Madrid is a great student city: lively, generally safe, tons of nightlife and culture, but not super cheap (depending on rent and lifestyle).