A group led by Josh Harris and Mitchell Rales that includes Magic Johnson has an agreement in principle to buy the team for a record $6.05 billion US, two people with knowledge of the situation told The Associated Press on Thursday.