The beat in Mary J. Blige's 2001 hit "Family Affair" was sampled from "Good Woman Down" by D Nice, released in 1996. Notably, "Good Woman Down" itself contains a sample from "Sweet Thing" by Rufus and Chaka Khan.
So it's a sample of a sample—a layered lineage connecting 1970s funk (Rufus/Chaka Khan) to 90s hip-hop (D Nice) to 2000s R&B (Mary J. Blige), all produced by Dr. Dre.