"O you who believe! Obey Allah and Obey the Messenger and make not vain your deeds." [Soorah Muhammad (47): 33]
"He who obeys the Messenger had obeyed Allah" [Soorah An-Nisa (4): 80]
He also says: "Whatsoever the Messenger gives you take it and whatsoever he forbids you refrain from it."