LaShawn Daniels, a songwriter and producer who wrote for pop megastars like Whitney Houston and Beyoncé and shared a Grammy Award in 2000 for his work on the Destiny’s Child anthem “Say My Name,” died on Tuesday in a car accident in Catawba, S.C. He was 41 .

His death was confirmed by his publicist, Jojo Pada. She said she had no details on the accident.

The list of artists with whom Mr. Daniels had songwriting credits reads like a concert promoter’s dream lineup. He was credited as a composer on songs by Michael Jackson (“You Rock My World”); Lady Gaga (“Telephone” which featured Beyoncé); Jennifer Lopez (“If You Had My Love"); and Whitney Houston (“It’s Not Right But It’s Okay”), among many other artists .

Mr. Daniels, who was known in the music industry by the nickname Big Shiz, often worked with the producer Rodney Jerkins. They collaborated (along with other writers) on “Say My Name” for “The Writing’s on the Wall,” the sophomore album by the R&B group Destiny’s Child, which at the time consisted of LeToya Luckett, LaTavia Roberson, Kelly Rowland and Beyoncé, then billed as Beyoncé Knowles.

In an interview this year with the Recording Academy to mark the 20th anniversary of “Say My Name’s” release, Mr. Daniels said the idea for the song came from life experience. He said that his girlfriend had been in the habit of calling him while he was out, and that if she heard anyone “doing anything in the background, she’d be like, ‘Who is that?’ Then she’d be like, ‘Well, say my name then, and tell me that you love me.’”