With Berry Gordy, she co-wrote "Money (That's What I Want)", originally recorded by Barrett Strong, and then by The Beatles on their second album With The Beatles.
The song "Money (That's What I Want)" was written by Berry Gordy and she.  Barrett Strong recorded it first, but The Beatles later performed it on their album "With The Beatles".