It was narrated from Qatadah that: He heard Anas say: "The Messenger of Allah SAW said: 'None of you has believed until I am dearer to him than his son, his father and all the people'."
The hadith also teaches us about selflessness; it encourages us to put others before ourselves even if it means sacrificing something we hold dear such as our family or friends. We must remember that nothing can compare to having a strong relationship with Allah and His Messenger so we must strive for this above all else.