Several flute notes sampled from an Arab composer are repeated throughout the song which became Jay Z’s first major hit single.

US District Judge Christina Snyder ruled that an Egyptian composer’s heir did not have the right to pursue the infringement claim.

The nephew of Baligh Hamdi, whose 1957 song Khosara Khosara is partially used in Big Pimpin’, sued Jay Z and producer Timbaland in 2007.

Osama Ahmed Fahmy claimed the musicians had exploited his uncle’s song without proper permission.

Jay Z, whose real name is Shawn Carter, and Timbaland testified in Los Angeles they thought they had a valid licence to sample the flute notes.

They are repeated throughout the song, an anthem to a promiscuous lifestyle that became Jay Z’s first major hit single.

Timbaland already paid $100,000 (£65,000) in 2001 to settle a claim about use of Hamdi’s song, which was written for a 1957 film.