Buckeye Police say it is an accident, but have released few details so far.
The boy had surgery at Phoenix Children's Hospital and is recuperating in the intensive care unit.
The shooting happened after 3 p.m. near 297th Avenue and Indian School.
Even though they are not releasing details, Buckeye Police are stressing the importance of gun safety to keep it from happening again.
"We are all shocked about this incident, horribly shocked," said a neighbor, Ginny.
Jesse Stone said the little boy who was shot is a typical rambunctious 7-year-old who walked to school with his kids.
"Uh, I was just you know a lot of I am sorry, just a lot of pain and sorrow that happened to such a good kid," said Stone.
Everyone is talking about what to do to keep it from happening again. Police say gun owners have to take precautions to protect children.
"Everybody has guns, this is Arizona, everybody seems to have guns anymore, make sure your kids are protected in the home. If you have guns, make sure they are locked up and are high enough where they can't reach," said Officer Tamela Skaggs with the Buckeye Police Department.
"They should keep their weapons in a safe, keep it locked. If it is a key safe, make sure the key is well-hidden from anybody," said Steve, a neighbor.
Gun safes, trigger, locks, and keeping the gun out of the reach of children. These are some of the common sense things to do so a child doesn't get shot.