The deal is worth a total of $10.4 million, Wojnarowski added.
Diallo, 23, is 6-foot-5 and averaged 11.2 points and 5.4 rebounds in 20 appearances last season. Before that, he spent 32 games with the Thunder, averaging 11.9 points.
He was a restricted free agent, and Pistons general manager Troy Weaver signaled at the end of the season that Diallo would be retained.
Restricted free agent G/F Hamidou Diallo has signed a two-year, $10.4M deal to stay with the Detroit Pistons, his agents Thad Foucher and Joe Smith of @Wassbasketball tell ESPN.
— Adrian Wojnarowski (@wojespn) August 19, 2021
“Diallo’s agreement means the Pistons roster has 16 guaranteed contracts now, one above the limit to start the regular season,” Wojnarowski wrote.
Diallo joins a young and promising backcourt in Detroit that also includes No. 1 overall pick Cade Cunningham, Killian Hayes, guard/forward Josh Jackson, Frank Jackson, Saben Lee and veteran Rodney McGruder.