President Biden drew some laughs during an appearance at a Pennsylvania firehouse on Wednesday after being asked whether he remembered his name, donning a Trump hat and appearing to tell the crowd, "Don’t eat dogs and cats."

Biden visited a firehouse in Shanksville, near where passengers and crew members of United Flight 93 died on Sept. 11, 2001, after interrupting the hijacking of their plane and crashing into a field. The Flight 93 National Memorial held its 23rd annual observance in Shanksville to commemorate the passengers and crew of the flight.

Video from Biden’s appearance shows him speaking with a man wearing a Trump hat and offering to trade him his own hat with the presidential seal on it for the Trump hat.

When the man asks Biden if he’ll autograph the hat for him, Biden agrees.

AT 9/11 COMMEMORATION, WIFE OF FDNY CHIEF CRITICIZES ‘FLIPPANT’ BIDEN REMARK, ‘OUTRAGEOUS’ PLEA DEAL

"Do you remember your name?" a man asks.

"I don’t remember my name. I’m slow," Biden jokes as the crowd chuckles.

When Biden trades the man the presidential hat for the Trump hat, the man asks Biden if he wants his autograph on the Trump hat, to which Biden responds, "Hell no!" as the crowd laughs.

President Joe Biden walking

President Biden and Vice President Kamala Harris walk with Flight 93 passengers' family members Patrick White, cousin of Louis Nache, left, and Calvin Wilson, cousin of first officer Leroy Homer, after laying a wreath at the Wall of Names at the Flight 93 National Memorial in Shanksville, Pennsylvania, on Wednesday. (AP Photo/Gene J. Puskar)

When a person in the crowd yells "put it on," referring to the Trump hat, Biden says, "I’m not going that far!" He eventually puts the hat on his head, drawing claps and cheers from the crowd.

9/11 SURVIVORS WITH POTENTIALLY FATAL ILLNESSES LEFT OUT OF CONTROVERSIAL PLEA DEAL TALKS: ATTORNEYS

But what came out of Biden’s mouth next raised some eyebrows.

"Remember, no eating dogs or cats," the president said to the crowd.

President Joe Biden places a wreath

President Biden places a wreath during a ceremony marking the anniversary of the Sept. 11 attacks at the Flight 93 National Memorial in Shanksville, Pennsylvania, on Wednesday. (AP Photo/Evan Vucci)

Biden may have been referring to claims that former President Trump made during his debate with Vice President Kamala Harris on Tuesday that Haitian migrants in Ohio were eating residents’ dogs and cats.

Officials have said there have been no credible or detailed reports about the claims.

The claims first surfaced on Friday in a post on X that shared what looked like a screengrab of a social media post apparently out of Springfield, Ohio. The retweeted post talked about the person’s "neighbor’s daughter’s friend" seeing a cat hanging from a tree to be butchered and eaten, claiming without evidence that Haitians lived at the house.

The accompanying photo in the post showed a man carrying what appeared to be a Canada goose by its feet. That post continued to get shared on social media.

CLICK HERE TO GET THE FOX NEWS APP

While officials have said there is no substantial evidence to the claims, Ohio Republican Gov. Mike DeWine has announced he'll be funneling resources to help ease the influx of some 20,000 Haitian migrants that have arrived in the city of Springfield legally under the Biden-Harris administration in the last several years. 

The Associated Press contributed to this report.