WASHINGTON—House Speaker Paul Ryan (R., Wis.) on Wednesday halted a growing push among House Republicans to bring back “earmarks,” lawmakers’ ability to direct federal funding to specific projects.

In a closed-door meeting of House Republicans, Mr. Ryan stepped in and stopped lawmakers from passing a change to their internal rules on Wednesday that would have allowed them to make limited funding requests for their districts, according to House GOP aides.

Mr....