Narrative:

At about 900 feet after takeoff; aircraft started shaking and engine was not developing full RPM. I took controls from the student; turned back towards airport and asked tower for priority handling to land on [the nearest] runway. Fuel pump was on. Tower asked if we needed assistance and I said no as we were at 1;000 feet and close to the airport. On downwind; aircraft continued shuddering and I again asked tower for priority. Tower said unable. Aircraft was still shuddering and unsure if engine was about to quit; I [advised ATC] and landed.

Google
 

Original NASA ASRS Text

Title: PA-28 instructor pilot reported returning to departure airport after the engine began running rough.

Narrative: At about 900 feet after takeoff; aircraft started shaking and engine was not developing full RPM. I took controls from the student; turned back towards airport and asked Tower for priority handling to land on [the nearest] runway. Fuel pump was on. Tower asked if we needed assistance and I said no as we were at 1;000 feet and close to the airport. On downwind; aircraft continued shuddering and I again asked Tower for priority. Tower said unable. Aircraft was still shuddering and unsure if engine was about to quit; I [advised ATC] and landed.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.