match in 2018. He was released from the club in 2019, and signed a two-year deal with Nottinghamshire. Hameed made his
first-class debut for Lancashire against
Glamorgan in August 2015, following Lancashire's decision to release batsman
Paul Horton. Hameed replaced him and opened the batting alongside
Karl Brown. He scored 28 in his first innings. He played another three first-class matches that season and averaged 42 with a highest score of 91. In February 2016, Hameed signed a four-year contract for Lancashire ahead of the 2016 season. He scored over 1,000 runs in that season, breaking
Mike Atherton's record as the youngest Lancashire player to reach that landmark. Hameed made his
List A debut for Lancashire in the
2017 Royal London One-Day Cup on 28 April 2017 and played a major role in Lancashire's victory In April 2019, as part of the
Marylebone Cricket Club University fixtures, Hameed scored a double century against
Loughborough MCCU. In August 2019, Lancashire announced that Hameed would be released at the end of the season; three months later, he signed a two-year contract with Nottinghamshire. Hameed was appointed captain of Nottinghamshire in November 2023 replacing
Steven Mullaney. In May 2024, Hameed
carried his bat against Lancashire, scoring a career best 247
not out. On 26 July 2024, he scored 101 not out against
Sussex in an unbeaten partnership of 209 with
Ben Slater during a
One-Day Cup match at the
John Fretwell Sporting Complex to set a new record for a Nottinghamshire third wicket stand in
List A cricket. Hameed was named Nottinghamshire overall and county championship player of the year for the 2024 season. On 16 May 2025, Hameed
carried his bat in Nottinghamshire's first innings against
Durham at the
Riverside Ground, making 206 in a team total of 407. He made his second first-class double century of the season on 31 July 2025, scoring 208 against
Somerset at
Trent Bridge. Hameed ended the season with 1,258 first-class runs, scored at an average of 66.21, as he led Nottinghamshire to their first
County Championship title in 15 years and was subsequently named the club's county championship and overall player of the season for the second successive year. ==International cricket==