Cancer is among the top causes of death, accounting for an estimated 9.6 million deaths in 2018, it appeared that approximately 500,000 people die from cancer in the United States alone annually. The SHP2 plays a major role in regulation of cell growth, proliferation, and differentiation, and functional upregulation of this enzyme is linked to oncogenesis and developmental disorders. SHP2 activity has been linked to several cancer types for which no drugs are currently available. In our study, we aimed to design peptide inhibitors against the SHP2 mutant. The crystal structure of the human Src SH2-PQpYEEIPI peptide mutant was downloaded from the protein databank. We generated several peptides from the native wild peptide using an in silico mutagenesis method, which showed that changes (P302W, Y304F, E306Q, and Q303A) might boost the peptide's affinity for binding to SHP2. Furthermore, the dynamical stability and binding affinities of the mutated peptide were confirmed using Molecular dynamics simulation and Molecular Mechanics with Generalized Born and Surface Area Solvation free energy calculations. The proposed substitution greatly enhanced the binding affinity at the residue level, according to a study that decomposed energy into its component residues. Our proposed peptide may prevent the spread of cancer by inhibiting SHP2, according to our detailed analyses of binding affinities.